Skip to main content
POST
/
v3
/
async
/
hunyuan-image-3
Hunyuan Image 3
curl --request POST \
  --url https://api.myrouter.ai/v3/async/hunyuan-image-3 \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "prompt": "<string>",
  "size": "<string>",
  "seed": 123
}
'
{
  "task_id": "<string>"
}
Hunyuan Image 3 is an advanced text-to-image model. Simply provide a text description to generate high-quality images rich in emotion and storytelling, empowering your creative expression and artistic creation.
This is an async API that only returns the task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.

Request Headers

Content-Type
string
required
Enum: application/json
Authorization
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

prompt
string
required
Positive prompt to guide image generation content.
size
string
Size of the generated image in pixels (width*height). Each dimension ranges from [256 ~ 1536]. Default: 1024*1024.
seed
integer
Random seed. A value of -1 indicates a random seed. Range: [-1 ~ 2147483647]. Default: -1.

Response

task_id
string
required
The task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.