# Sora2Api ## API Docs - Root > Video [Generate video](https://sora2-api.apifox.cn/generate-video-396078710e0.md): Submit a text/image-to-video task, deduct credits, and return taskId. - Root > Video [Check generation result](https://sora2-api.apifox.cn/check-generation-result-396078711e0.md): Fetch by taskId in real time and write back to the database. - Root > Credits [Get credits and VIP status](https://sora2-api.apifox.cn/get-credits-and-vip-status-396078712e0.md): Query current user's credits and VIP status. ## Schemas - Root [GenerateVideoRequest](https://sora2-api.apifox.cn/generatevideorequest-232183629d0.md): - Root [CharacterItem](https://sora2-api.apifox.cn/characteritem-232183630d0.md): - Root [GenerateVideoResponse](https://sora2-api.apifox.cn/generatevideoresponse-232183631d0.md): - Root [CheckResultRequest](https://sora2-api.apifox.cn/checkresultrequest-232183632d0.md): - Root [CheckResultResponse](https://sora2-api.apifox.cn/checkresultresponse-232183633d0.md): - Root [CheckResultData](https://sora2-api.apifox.cn/checkresultdata-232183634d0.md): - Root [GetCreditsResponse](https://sora2-api.apifox.cn/getcreditsresponse-232183635d0.md): - Root [ErrorResponse](https://sora2-api.apifox.cn/errorresponse-232183636d0.md):