This is an asynchronous API; only the task_id will be returned. You should use the task_id to request the Task Result API to retrieve the image generation results.
Request Headers
Supports:
application/json
Bearer authentication format, for example: Bearer {{API Key}}.
Request Body
The prompt to generate an image from.
The image to generate an image from.
The random seed to use for the generation. -1 means a random seed will be used. Range: -1 ~ 2147483647. Default is -1.
The format of the output image. Default is jpeg.
Enum:
Enum:
jpeg
, png
, webp
Response
Use the task_id to request the Task Result API to retrieve the generated outputs.