{
"type": "upscale",
"model": "stable",
"input": {
"creation_id": 2421167565532164
},
"output_params": {
"sample_count": 1,
"duration": 4
}
}
curl --location --request POST 'https://api.302.ai/vidu/ent/v1/tasks' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "upscale",
"model": "stable",
"input": {
"creation_id": 2421167565532164
},
"output_params": {
"sample_count": 1,
"duration": 4
}
}'
{
"id": "string",
"type": "string",
"state": "string",
"model": "string",
"style": "string",
"moderation": true,
"input": {
"creation_id": "string",
"prompts": [
{
"type": "string",
"content": "string",
"negative": true
}
],
"seed": 0,
"enhance": true,
"multi_image_boost": true
},
"output_params": {
"sample_count": 0,
"duration": 0,
"aspect_ratio": "string",
"resolution": "string",
"movement_amplitude": "string"
},
"err_code": "string",
"creations_count": 0,
"model_version": "string",
"created_at": "string"
}