Skip to main content
POST
Image generation

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
string
required

Image model id from GET /v1/models.

Example:

"seedream-4.0"

prompt
string
Example:

"A red panda coding at a laptop"

Response

Business response containing data.task_id when code=0.