cURL
curl --request POST \ --url https://api.haiper.ai/v1/jobs/gen2/text2video \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "is_public": true, "is_enable_prompt_enhancer": true, "prompt": "<string>", "negative_prompt": "<string>", "gen_mode": "<string>", "settings": { "seed": 123, "aspect_ratio": "<string>", "duration": 123 } }'
{ "status": "<string>", "value": { "generation_id": "<string>" } }
Create videos with text prompt
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The information to create video
The body is of type object.
object
The response is of type object.