Expand images in all directions
| Header | Type | Required | Description |
|---|---|---|---|
x-api-key | string | Yes | Your API key |
| 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 |
scale parameter defines how much larger the final image will be compared to the original:
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)job_id to check the task status via the Get Task endpoint to retrieve the completed result with image URLs.API key for authentication
ID of the original image
Image number to extend (0, 1, 2, or 3)
0 <= x <= 30
Extension scale ratio (1.1-2.0)
1.1 <= x <= 2Text prompt for the extended areas
1 - 8192Callback URL for task completion notifications
Outpaint task created successfully