简体中文
curl --location 'https://geekai.co/api/v1/videos/generations' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {YOUR_GEEKAI_API_KEY}' \ --data '{ "model":"cogvideox-flash", "prompt":"小猫小狗在草丛中打闹", "async": false }'
async
false
true
curl --location --request GET 'https://geekai.co/api/v1/video/{task_id}/result' \ --header 'Authorization: Bearer {YOUR_GEEKAI_API_KEY}'
succeed