KIE.AI
old-model
  • All Model
  • old-model
language
language
  • 🇺🇸 English
  • 🇨🇳 Chinese
language
language
  • 🇺🇸 English
  • 🇨🇳 Chinese
Support
old-model
  • All Model
  • old-model
old-model
  • All Model
  • old-model
Suno API4o Image APIVeo3.1 APIRunway APIFlux Kontext API
Suno API4o Image APIVeo3.1 APIRunway APIFlux Kontext API
  1. Flux Kontext API
  • Flux Kontext API Quickstart
  • Image Generation or Editing Callbacks
  • Generate or Edit Image
    POST
  • Get Image Details
    GET
  1. Flux Kontext API

Get Image Details

GET
/api/v1/flux/kontext/record-info
Query the status and results of an image generation or editing task.

Status Descriptions#

0: GENERATING - Task is currently being processed
1: SUCCESS - Task completed successfully
2: CREATE_TASK_FAILED - Failed to create the task
3: GENERATE_FAILED - Task creation succeeded but generation failed

Important Notes#

Generated images (resultImageUrl) will expire after 14 days

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Query Params

Responses

🟢200
application/json
Request successful
Bodyapplication/json

🔴500Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.kie.ai/api/v1/flux/kontext/record-info?taskId=task12345' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - 成功示例
{
    "code": 200,
    "msg": "success",
    "data": {
        "taskId": "task12345",
        "paramJson": "{\"prompt\":\"A serene mountain landscape\",\"aspectRatio\":\"16:9\"}",
        "completeTime": "2024-03-20T10:30:00Z",
        "response": {
            "originImageUrl": "https://example.com/original.jpg",
            "resultImageUrl": "https://example.com/result.jpg"
        },
        "successFlag": 1,
        "errorCode": null,
        "errorMessage": "",
        "createTime": "2024-03-20T10:25:00Z"
    }
}
Previous
Generate or Edit Image
Built with