curl --location --request POST 'https://api.kie.ai/api/v1/jobs/createTask' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "sora-2-text-to-video",
"callBackUrl": "https://your-domain.com/api/callback",
"progressCallBackUrl": "https://your-domain.com/api/v1/jobs/progressCallBackUrl",
"input": {
"prompt": "A professor stands at the front of a lively classroom, enthusiastically giving a lecture. On the blackboard behind him are colorful chalk diagrams. With an animated gesture, he declares to the students: “Sora 2 is now available on Kie AI, making it easier than ever to create stunning videos.” The students listen attentively, some smiling and taking notes.",
"aspect_ratio": "landscape",
"n_frames": "10",
"remove_watermark": true,
"character_id_list": [
"example_123456789"
]
}
}'