
AI Video Creation Hub
API Overview
Enter keywords and AI will automatically find and synthesize video materials
API Console
Log in to explore more features! Click to Log In
API Reference (4)
| API Description | API Endpoint | Request Method | Stability | Parameter Description |
|---|---|---|---|---|
Scripts(Generate Video Content Copy) | POST | Stable | View Details | |
Document Details The API used by the AI video content idea platform: Generate corresponding video scripts based on input keywords. Price List:https://302.ai/price Request Parameters Header ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}}Request Body application/jsonvideo_subjectstringRequired Video theme models_namestringRequired model video_languagestringOptional Specify the language of the script; if left blank, it will match the language of the video_subject | ||||
Terms(Generate Video Material Search Keywords) | POST | Stable | View Details | |
Document Details The API used by the AI video content idea platform: Generate search keywords for video platforms based on the video theme and script. Price List:https://302.ai/price Request Parameters Header ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}}Request Body application/jsonvideo_subjectstringRequired Video theme models_namestringRequired model video_languagestringOptional Specify the language of the script; if left blank, it will match the language of the video_subject | ||||
Videos(Create Video Material Generation Task) | POST | Stable | View Details | |
Document Details The API used by the AI video content idea platform: Generate stitched video materials based on the script and search keywords. Price list:https://302.ai/price Request Parameters Header ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}}Request Body application/jsonvideo_subjectstringRequired video_scriptstringRequired video_termsstringRequired Currently, only English search keywords are supported, separated by commas. video_aspectenum<string>Required Enum Value: 16:99:161:1video_clip_durationstringOptional The final video is composed of N original clips, and this parameter limits the maximum duration of each clip used subtitle_enabledbooleanOptional subtitle_positionenum<string>Optional Enum Value: bottomcentertoptext_fore_colorstringOptional font_sizeintegerOptional stroke_colorstringOptional stroke_widthnumberOptional Example Value: 1.5voice_nameenum<string>Required The specifically mentioned voice models above must be labeled with “V2” Enum Value: en-US-AvaMultilingualNeural-V2en-US-AndrewMultilingualNeural-V2en-US-EmmaMultilingualNeural-V2en-US-BrianMultilingualNeural-V2de-DE-FlorianMultilingualNeural-V2de-DE-SeraphinaMultilingualNeural-V2fr-FR-RemyMultilingualNeural-V2fr-FR-VivienneMultilingualNeural-V2zh-CN-XiaoxiaoMultilingualNeural-V2其他azure声音模型voice_volumenumberOptional bgm_volumenumberOptional | ||||
Tasks(Get Video Task Progress) | GET | Stable | View Details | |
Document Details The API used by the AI video content idea platform: Retrieve the progress of a video generation task Price:0 PTC/call Request Parameters Path Parameterstask_idstringRequired Example Value: The taskId returned by the video task creationHeader ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}} | ||||
API Pricing
| Model | Description | 302.AI Price |
|---|
Scripts | Generate Video Content Copy |
|
Terms | Generate Video Material Search Keywords |
|
Videos | 'Create Video Material Generation Task
(Audio Fee: 0.001 PTC/s) |
|
Tasks | Get Video Task Progress |
|