APIMart Officially Launches magi-2 APIExplore MAGI-2: APIMart Officially Launches magi-2 API
APIMart
T2V API

Text to Video API: 40+ AI Video Models

A text to video API turns a written prompt into a video clip through an HTTP request. APIMart lists 40 video models that accept a prompt on its own, including Seedance 2.5, Veo 3.1, Kling 4.0, Wan 3.0 and Gemini Omni 1.2 Flash, behind one API key with pay-as-you-go billing. Compare clip length, audio and live prices below.

Text to Video API Models on APIMart

Every model below accepts a text prompt without a reference image and uses the same APIMart key, async task flow and balance. Parameters differ by model, so open a model for durations, resolutions, pricing and code examples.

How to Choose a Text to Video API

01

Native audio in one pass

Seedance 2.5, Kling 4.0, Wan 3.0 and MiniMax H3 return sound with the picture, so a prompt can describe dialogue, effects and ambience.

02

Longer clips for storytelling

Seedance 2.5 (4–30 s), Wan 3.0 (2–30 s) and Kling 4.0 (3–30 s) produce the longest single clips; Kling 3.0, Gemini Omni 1.2 Flash and MiniMax H3 reach 15 seconds.

03

Resolution and detail

Gemini Omni 1.2 Flash spans 360p to 4K, Veo 3.1 and Kling 3.0 offer 4K tiers, and MiniMax H3 outputs 2K.

04

Fast, low-cost drafts

Seedance 2.0 Mini, Grok Imagine Video and Kling 3.0 Turbo keep iteration quick and cheap; Seedance 2.5 can also render a 480p draft and turn it into a 1080p final.

Text to Video API Pricing and Specs: 9 Popular Models

Live Gold member prices on APIMart, 20% below list price; Platinum and Diamond members pay less. Prices are per second of output at the listed tier unless noted, and each model page shows every tier.

ModelAudioClip lengthResolutionGold price
Seedance 2.5 API30-second clips with soundOn by default; generate_audio false for silence4–30 s480p–1080p$0.216/s · 720p
Seedance 2.0 Mini APILow-cost draftsOn by default; can be turned off4–15 s480p / 720p$0.039/s · 720p
Veo 3.1 Fast APICinematic Google Veo shotsSynchronized audio; on/off switch on the official channel8 s720p–4K$0.075 per 8 s clip · 720p / 1080p
Wan 3.0 APIUp to 30 s with flexible referencesOptional soundtrack at the same price2–30 s480p–1080p$0.0658/s · 720p
Kling 4.0 APIUp to 30 s with stereo audioAlways on, stereo3–30 s720p / 1080p$0.14/s · 720p
Kling 3.0 API720p to 4K tiersOptional, billed at a higher sound tier3–15 s720p–4K$0.0672/s · 720p std
Gemini Omni 1.2 Flash API360p to 4K outputIncluded with the clip3–15 s360p–4K$0.06/s · 720p
MiniMax H3 APINative 2K with audioNative audio4–15 s768p / 2K$0.0571/s · 768p
Grok Imagine Video APIFast clips and video editsSee model page1–15 s480p / 720p$0.056/s · 720p

Kling 3.0 is shown at std 720p without sound; sound, pro and 4K cost more. Veo 3.1 Fast on the Ext channel is billed per 8-second clip, while its official channel is billed per second. Seedance and Kling 4.0 also bill reference video input by the second. Failed tasks are not charged.

Text to Video API Cost Examples

  • A 10-second 720p text-to-video clip with Seedance 2.5: 10 × $0.216 = $2.16, with audio included.
  • A 10-second 720p clip with Kling 4.0: 10 × $0.14 = $1.40, with stereo audio.
  • A 10-second 720p draft with Seedance 2.0 Mini: 10 × $0.039 = $0.39.
  • A 10-second 720p clip with Grok Imagine Video: 10 × $0.056 = $0.56.

Text to Video API Quickstart: Seedance 2.5 Example

Send a prompt to POST /v1/videos/generations, then poll the task until the video is ready. This example uses Seedance 2.5; every other text to video model takes its own model ID and parameters, listed on its model page.

  1. 1

    Get an APIMart API key

    Sign up for APIMart, add balance and create a key on the API Keys page. Save it in the APIMART_API_KEY environment variable and send it as Authorization: Bearer <key>. The same key calls every video model.

  2. 2

    Submit a video task

    POST /v1/videos/generations with the model ID, your prompt and the duration and resolution that model supports. Add image_urls for image to video. The response returns a task_id.

  3. 3

    Get the video

    Poll GET /v1/tasks/{task_id} every 5–15 seconds until the status is completed, then read the video URL from data.result.videos[0].url[0]. Results are kept for 72 hours, so download the files you want to keep.

    See the Seedance 2.5 API reference for every parameter of this model.

POST /v1/videos/generations
curl -X POST https://api.apimart.ai/v1/videos/generations \
  -H "Authorization: Bearer $APIMART_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance-2.5",
    "prompt": "A cinematic tracking shot of a red vintage car driving along a coastal road at sunset, waves crashing below, warm golden light",
    "size": "16:9",
    "resolution": "720p",
    "duration": 10
  }'

Seedance 2.5 API Parameters Used Here

ParameterTypeRequiredDefaultDescription
modelstringRequiredDefault: seedance-2.5The video model to call. Every other model takes its own ID, listed on its model page.
promptstringRequiredDefault: —Description of the video: subject, motion, camera and sound.
resolutionstringOptionalDefault: 720p480p, 720p, 1080p or 4K for Seedance 2.5. Higher tiers cost more per second.
sizestringOptionalDefault: adaptiveAspect ratio: 16:9, 4:3, 1:1, 3:4, 9:16, 21:9 or adaptive.
durationintegerOptionalDefault: 5Clip length, 4–30 seconds for Seedance 2.5. Billing follows the output seconds.
generate_audiobooleanOptionalDefault: trueGenerate synced audio. Set false for a silent video.
image_urlsarrayOptionalDefault: —Reference images as public URLs, up to 30 for Seedance 2.5. Adding them turns the request into image to video.
image_with_rolesarrayOptionalDefault: —Images with a role: first_frame, last_frame or reference_image.

Text to Video API FAQ

What is a text to video API?

A text to video API turns a written prompt into a video clip through an HTTP request. On APIMart you send the model name, prompt and options such as duration or resolution to POST /v1/videos/generations and get back a task ID for the finished video.

Which text to video API model should I choose?

Start from the job: Seedance 2.5, Kling 4.0 or Wan 3.0 for clips of up to 30 seconds with sound, Gemini Omni 1.2 Flash, Veo 3.1 or Kling 3.0 for 4K, and Seedance 2.0 Mini or Grok Imagine Video for drafts. One key lets you compare them on the same prompt.

Which text to video APIs generate audio?

Seedance 2.5, Seedance 2.0 Mini, Kling 4.0, Wan 3.0, Gemini Omni 1.2 Flash, MiniMax H3 and Veo 3.1 can return sound with the video. Kling 3.0 charges a higher tier for sound, while Wan 3.0's soundtrack does not change the price.

How long can a text to video clip be?

Seedance 2.5 and Wan 3.0 go up to 30 seconds and Kling 4.0 from 3 to 30 seconds per request. Many models stop at 10 or 15 seconds, and Veo 3.1 Fast on the Ext channel is fixed at 8 seconds.

How does text to video API pricing work?

Most models are billed per second of output at the chosen resolution, and the table above shows live Gold member prices, 20% below list. Platinum and Diamond members save 24% and 28%. Each model page shows every tier.

How do I get a text to video API key?

Sign up for APIMart, open the API Keys page in your dashboard and create a key. The same key calls every text to video model here and the other models on APIMart.

How do I call the text to video API?

Send POST /v1/videos/generations with your key, model ID, prompt and options, then poll GET /v1/tasks/{task_id} until the task is completed. Parameters differ by model, so use the parameter table on each model page when you switch.

Is the text to video API free?

No. APIMart has no free credits: it is pay as you go with no subscription, and failed generations are not billed.