Endpoint
Headers
Header | Type | Required | Description |
---|---|---|---|
x-api-key | string | Yes | Your API key |
Request Body
Parameter | Type | Required | Description |
---|---|---|---|
jobId | string | Yes | ID of the original image generation task |
imageNo | integer | Yes | Image number to extend (0/1/2/3) |
scale | float | Yes | Extension scale ratio (1.1-2.0) |
remixPrompt | string | No | Text prompt for the extended areas (1-8192 characters) |
callback | string | No | Callback URL for task completion notifications |
Parameters Detail
Scale Parameter
Thescale
parameter defines how much larger the final image will be compared to the original:
- Range: 1.1 to 2.0
- Example: For a 1:1 aspect ratio image:
scale = 1.2
means the original image will occupy 83% of the new image (20% extension)scale = 2.0
means the original image will occupy 50% of the new image (100% extension)