Run in Apifox
Open-source video model, characterized by extremely fast generation speed. Note: The images should have a 3:2 aspect ratio, otherwise they will be stretched. Relevant link:https://github.com/Lightricks/LTX-Video Request
Example: Bearer {{YOUR_API_KEY}}
Body Params application/json
num_inference_steps
integer
optional
{
"prompt" : "" ,
"negative_prompt" : "low quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly" ,
"num_inference_steps" : 30 ,
"guidance_scale" : 3 ,
"image_url" : ""
}
Request samples curl --location --request POST 'https://api.302.ai/302/submit/ltx-video-i2v' \
--header 'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "",
"negative_prompt": "low quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly",
"num_inference_steps": 30,
"guidance_scale": 3,
"image_url": ""
}'
Responses application/json Generate Code
Modified at 2024-12-11 07:13:52