← Back to Directory Video Generation

AI Video (Text-to-Video)

Generate videos from text prompts. Max 10s duration.

$0.0018 / request

Details & Documentation

text_to_video

Generate high-quality videos from text prompts.

Parameters

Name Type Description
prompt string The description of the video you want to generate.
aspect_ratio string Optional. Default 9:16. Options: 16:9 (Landscape), 9:16 (Portrait).
callback_url string Optional. HTTPS URL to receive webhook upon completion.

Response

Returns a task_id which you can use to check status.

POST https://postapi.site/v1/api
Generate videos from text prompts. Max 10s duration.

Code Integration

curl -X POST "https://postapi.site/v1/api" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "X-Service-ID: video-gen-t2v" \
  -d '{
    "prompt": "A cinematic shot of a futuristic city with flying cars, neon lights, 4k resolution.",
    "aspect_ratio": "16:9",
    "callback_url": "https:\/\/webhook.site\/..."
}'

⚡ Live Test

Active

Test Limit: 5 requests / day (IP enforced)
Using Dummy Key: TEST_KEY_****

Keys matching URL placeholders (e.g. {task_id}) will be used in the URL. Others will be sent as Body (POST/PUT) or Query Params (GET).

📨

Stay Updated

Subscribe to our newsletter for the latest API updates, tutorials, and exclusive offers.