enable_sync_mode set to true (some models do not support this parameter, but you still need to query the result by id), you must call the Query Result endpoint to retrieve the final output.
data.id – the unique identifier of the predictiondata.urls[0].get – a ready-to-use GET URL that already embeds the idResponse Example
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
enable_base64_output | boolean | ❌ No | false | Whether to output the result as base64 encoded string |
enable_sync_mode | boolean | ❌ No | false | Whether to enable synchronous mode (wait for result) |
prompt | string | ✅ Yes | Turn this photo into a characterfigure. Behind it, place a box withthe character's image printed on it,and a computer showing the Blendermodeling process on its screen. In frontof the box, add a round plastic basewith the character figure standing on it .set the scene indoors if possible. | Image generation prompt describing the desired image content |
size | string | ❌ No | 2227*3183 | Output image resolution (format: width*height) |
| Error Code | Error Name | Description |
|---|---|---|
| 401 | Unauthorized | API key is missing or invalid |
| 403 | Forbidden | Your API key doesn’t have permission to access this resource, or insufficient balance for the requested operation |
| 429 | Too Many Requests | You’ve exceeded your rate limit |
| 500 | Internal server error | An internal server error occurred |
| 503 | Content policy violation | Content blocked due to safety concerns (actual status code is 400) |