The latest video generation model from Kunlun TechPrice: 0.5 PTC/call
Request
Header Params
Authorization
string
optional
Example:
Bearer {{YOUR_API_KEY}}
Content-Type
string
optional
Example:
application/json
Body Params application/json
prompt
string
required
image_url
string
required
guidance_scale
number
optional
1-20
num_inference_steps
integer
optional
1-50
aspect_ratio
enum<string>
optional
Allowed values:
16:99:16
Example
{"prompt":"a man is smile","image_url":"https://file.302ai.cn/gpt/imgs/20241012/813d3e2cecf146b1b5a3d1e742ee3e5d.png","guidance_scale":6,"num_inference_steps":30,"aspect_ratio":"9:16"}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.302.ai/302/submit/skyreels-i2v' \
--header'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--header'Content-Type: application/json' \
--data-raw'{
"prompt": "a man is smile",
"image_url": "https://file.302ai.cn/gpt/imgs/20241012/813d3e2cecf146b1b5a3d1e742ee3e5d.png",
"guidance_scale": 6,
"num_inference_steps": 30,
"aspect_ratio": "9:16"
}'