CreateTask
description
Create a task for text to video
Usage
URL
https://api.comfyonline.app/api/create_runway_text2video_task
Header
{
'Content-Type': 'application/json',
'Authorization': `Bearer ${token}`
}
Params
{
prompt: string,
duration: number, // 5 or 10
webhook: string,
}
Response
{
data?: {
task_id: string // task_id, query the status of the task by this id, or receive a webhook
},
success: boolean,
errorMsg: string,
error_code: number
}