Media Generation
Generate images and videos, remove captions and watermarks.
Generate images, videos, and remove captions/watermarks from videos. All media endpoints use studio credits and follow the same async job pattern — submit a request, receive a job_id, then poll /api/job-status/:job_id for results. Image and video generation are available on all plans; caption removal requires a Professional or Ultimate plan.
Remove captions and watermarks from a video. Accepts a publicly accessible video URL or a TikTok/Instagram Reel link — the API downloads and processes the video via AI, then returns a cleaned video uploaded to CDN. Credits are deducted upfront and refunded automatically if processing fails.
| Name | Type | Required | Description |
|---|---|---|---|
| video_url | string | Required | Direct video URL, TikTok link (https://www.tiktok.com/@user/video/{id}), or Instagram Reel link (https://www.instagram.com/reels/{id}/) |
Generate AI images from a text prompt. Supports multiple models with optional reference images. Returns one or more image URLs uploaded to CDN. Credits are deducted upfront and refunded automatically if generation fails. Set fast=true to bypass the standard ladder for sub-30s outputs (3× the model's base credits, minimum 3).
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| prompt | string | Required | — | Text description of the image to generate |
| model | string | Optional | nano-banana-2 | Image model. See model table below. |
| aspect_ratio | string | Optional | 16:9 | Output aspect ratio (e.g. 16:9, 9:16, 1:1, 4:3) |
| reference_image_url | string | Optional | — | URL of a reference image for style guidance. Required for seedream-4.5-edit. |
| reference_image_urls | array | Optional | — | Multiple reference image URLs. nano-banana-pro (up to 8), nano-banana-2, seedream-5.0-lite, and gpt-image-2 use the whole list; single-reference models use the first URL. Takes precedence over reference_image_url when both are sent. |
| fast | boolean | Optional | false | Fast mode — bypasses the standard provider ladder for sub-30s outputs. Costs 3× the model's base credits (minimum 3). Same models and prompt; reference images still work. |
| Model | Credits | Notes |
|---|---|---|
gpt-image-2 | 0.35 | OpenAI GPT Image 2 — text-to-image, or image-to-image when reference images are supplied. Flat price; outputs ~1.5K (e.g. 1536×1024, 1672×941 at 16:9) |
nano-banana-2 | 1 | Fast general-purpose generation (default) |
nano-banana-pro | 2 | Higher quality, supports up to 8 reference images via reference_image_urls |
seedream-4.5-edit | 1 | Image editing — requires reference_image_url |
seedream-5.0-lite | 1 | Lightweight generation, optional reference |
Generate AI videos from a text prompt. Supports multiple models including Sora, Kling, Grok, and Veo. Returns a video URL uploaded to CDN. Credits are deducted upfront and refunded automatically if generation fails.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| prompt | string | Required | — | Text description of the video to generate |
| model | string | Optional | sora-2 | Video model. See model table below. |
| input_reference_url | string | Conditional | — | Reference image URL. Required for kling-2.6, grok-image-to-video, and veo3-fast. |
| seconds | string | Optional | 4 | Video duration in seconds (Sora only). Values: 4, 8, 12 |
| size | string | Optional | 720x1280 | Output resolution (Sora only). e.g. 720x1280, 1280x720 |
| duration | string | Optional | 5 | Video duration (Kling only). Values: 5, 10 |
| sound | boolean | Optional | false | Enable audio generation (Kling only). Doubles the credit cost. |
| aspect_ratio | string | Optional | 9:16 | Output aspect ratio (Veo only). e.g. 9:16, 16:9 |
| Model | Credits | Reference Image | Notes |
|---|---|---|---|
sora-2 | 13 / 18 / 25 | Optional | OpenAI Sora. Cost varies by duration: 4s / 8s / 12s |
kling-2.6 | 8 – 30 | Required | Image-to-video. Cost varies by duration and sound. |
grok-image-to-video | 3 | Required | Grok image-to-video generation |
veo3-fast | 8 | Required | Google Veo 3.1 Fast video generation |
/api/job-status/:job_id every 5 seconds for updates.
Algrow
Shorts Channels