Extend images in a single specified direction with precision
| 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) |
direction | integer | Yes | Extension direction (0-3) |
scale | float | Yes | Extension scale ratio (1.1-3.0) |
remixPrompt | string | No | Text prompt for the extended area (1-8192 characters) |
callback | string | No | Callback URL for task completion notifications |
| Value | Direction |
|---|---|
| 0 | Down |
| 1 | Right |
| 2 | Up |
| 3 | Left |
scale parameter defines the ratio of the new image area to the original in the extension direction:
scale = 1.13 means the final image will be 13% wider in the specified directionAPI key for authentication
ID of the original image generation task
Image number to extend (0, 1, 2, or 3)
0 <= x <= 30
Extension direction (0=Down, 1=Right, 2=Up, 3=Left)
0 <= x <= 31
Extension scale ratio (1.1-3.0)
1.1 <= x <= 31.5
Text prompt for the extended area
1 - 8192Callback URL for task completion notifications
Pan task created successfully