curl --location 'https://gw.tokenproto.cn/api/v3/contents/generations/tasks' \
--header 'x-api-key;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"callback_url": "string",
"return_last_frame": true,
"service_tier": "string",
"execution_expires_after": 0,
"generate_audio": true,
"camera_fixed": true,
"model": "string",
"content": [
{
"image_url": {
"url": "string"
},
"video_url": {
"url": "string"
},
"audio_url": {
"url": "string"
},
"type": "string",
"role": "string",
"text": "string"
}
],
"seed": 0,
"draft": true,
"resolution": "string",
"ratio": "string",
"duration": 0,
"frames": 0,
"watermark": true,
"tools": [
{
"type": "string"
}
],
"metadata": {
"key": "string"
}
}'