curl --request POST \
--url https://api.comfy.org/proxy/vidu/text2video \
--header 'Content-Type: application/json' \
--data '{
"aspect_ratio": "<string>",
"callback_url": "<string>",
"duration": 123,
"enhance": true,
"images": [
"<string>"
],
"model": "<string>",
"movement_amplitude": "auto",
"priority": 123,
"prompt": "<string>",
"resolution": "<string>",
"seed": 123,
"style": "general"
}'
{
"aspect_ratio": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"credits": 123,
"duration": 123,
"images": [
"<string>"
],
"model": "<string>",
"movement_amplitude": "auto",
"prompt": "<string>",
"resolution": "<string>",
"seed": 123,
"state": "created",
"style": "general",
"task_id": "<string>"
}
OK
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.comfy.org/proxy/vidu/text2video \
--header 'Content-Type: application/json' \
--data '{
"aspect_ratio": "<string>",
"callback_url": "<string>",
"duration": 123,
"enhance": true,
"images": [
"<string>"
],
"model": "<string>",
"movement_amplitude": "auto",
"priority": 123,
"prompt": "<string>",
"resolution": "<string>",
"seed": 123,
"style": "general"
}'
{
"aspect_ratio": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"credits": 123,
"duration": 123,
"images": [
"<string>"
],
"model": "<string>",
"movement_amplitude": "auto",
"prompt": "<string>",
"resolution": "<string>",
"seed": 123,
"state": "created",
"style": "general",
"task_id": "<string>"
}