LLitMediaAPI Docs

Models

Every generation request takes a static model code string (e.g. "kling-3.0"). There is no Models API — the catalog below is the single source of truth, including the exact values each parameter accepts and every input limit.

How model codes work

Video models

Supported parameters per model: duration, quality, ratio, video_num, sound. The Frame column marks models that accept a last_image_url (first/last frame); the Reference column marks models that accept an image_url_list (multiple reference images); the Ref video / Ref audio columns mark models that accept video_url_list / audio_url_list (reference videos / audios in reference mode) with their per-model maximum count. Some models have value dependencies documented in the notes column.

CodeModelModesFrameReferenceRef videoRef audioPrompt maxDuration (s)QualityRatioNumSoundInput limits (i2v)

Image models

Supported parameters per model: ratio, quality, resolution, image_num. GPT Image 2.6 additionally accepts output_format (png / gif / svg, default png) with frame_count (2–16) and frame_duration_ms (≥20 ms) for animated gif output. Image generation accepts text-to-image (no image inputs), single image-to-image (image_url), or multiple reference images via image_url_list — the Reference column marks models that support it and their maximum image count (including image_url).

CodeModelReferencePrompt maxRatioQualityResolutionNum

Common input limits

Model-specific notes

EXAMPLE
curl -X POST "https://litvideo-api.litmedia.ai/v1/videos" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer lvsk-xxxxxxxxxxxxxxxx" \
  -d '{
    "model": "kling-3.0",
    "prompt": "A cinematic drone shot over a neon-lit city",
    "duration": 10,
    "quality": "pro",
    "ratio": "16:9"
  }'
i

The catalog mirrors the LitMedia web app. New models are added as codes on a best-effort basis; the tables here are authoritative for the Open API.

On this page