Media Generation
Generate images, videos, and remove captions/watermarks from videos. All media endpoints are paid from your balance (see Balance and prices) and follow the same async job pattern: submit a request, receive a job_id, then poll /api/job-status/:job_id for results. From 1 December 2026 they work with or without a plan.
4 endpoints on this page
| POST /api/caption-remover | Remove captions and watermarks from a video |
| POST /api/generate-image | Generate AI images from a text prompt |
| POST /api/generate-video | Generate AI videos from a text prompt |
| GET /api/generations | Your own AI Studio history |
POST/api/caption-remover
Remove captions and watermarks from a video. Accepts a YouTube, TikTok or Instagram link, or the URL of a video file Algrow hosts (such as the video_url of a finished /api/generate-video job). The API downloads and processes the video via AI, then returns a cleaned video uploaded to CDN. A URL on any other host is refused with a 400. The price is charged upfront and refunded automatically if processing fails.
Cost: $0.6339 per minute of video (charged in $0.03 steps, rounded up: a 4 second clip is $0.06, a 28.5 second one $0.33), from your balance. credit_cost in the response is the same charge counted in credits (1 credit = $0.03). Max duration: 90 seconds. Processing can take up to 30 minutes depending on video length.
Paid per use, no daily limit.
Request Body (JSON)
| video_urlstring · required | A YouTube link, a TikTok link (https://www.tiktok.com/@user/video/{id}), an Instagram Reel link (https://www.instagram.com/reels/{id}/), or the URL of a video file Algrow hosts (https://audio.algrow.online/...). Any other host is refused |
| 200 | Queued |
| 400 | Missing video_url |
| 401 | Auth failed |
| 402 | Not enough balance |
| 403 | Plan required (until 1 Dec 2026) |
| 429 | Too busy |
POST/api/generate-image
Generate AI images from a text prompt. Supports multiple models with optional reference images. Returns one or more image URLs uploaded to CDN. The price is charged to your balance upfront and refunded automatically if generation fails. A model has one price at every size it is made at.
Paid per use, no daily limit.
Request Body (JSON)
| promptstring · required | Text description of the image to generate |
| modelstring · optional · default nano-banana-2 | Image model. See model table below. |
| aspect_ratiostring · optional · default 16:9 | Output aspect ratio: 16:9, 9:16, 1:1, 4:3 or 3:4 |
| resolutionstring · optional · default the model's first size | Output size: 1K, 2K or 4K, for the models made at more than one (see the model table). It does not change the price. A size the model is not made at is a 400, before any charge. |
| reference_image_urlstring · optional | URL of a reference image for style guidance. Required for seedream-4.5-edit. |
| reference_image_urlsstring[] · optional | Several reference images at once. Takes precedence over reference_image_url, which is used as a fallback when only one reference is sent. The Nano Banana and GPT Image models and seedream-5.0-lite use the whole list; the others take the first entry only. |
| fastboolean · optional · default false | Fast mode, for the Seedream models only — quicker outputs at the same price as a normal render. Every other model has no Fast mode: the field is ignored and the image is made and priced the normal way. |
| use_own_keyboolean · optional · default true | Use your own provider key for this render when you have one configured. Set to false to pay from your Algrow balance instead. No effect if you haven't added a key. |
Available Models
gpt-image-2.6 | $0.0048 | 1K | GPT Image 2.6 — best for text in the image, and the cheapest. Text-to-image, or image-to-image when reference_image_url is supplied |
gpt-image-2.5 | $0.0048 | 1K | GPT Image 2.5, the earlier version |
gpt-image-2.6-flare | $0.0159 | 2K, 4K | GPT Image at 2K or 4K. Shapes: 16:9, 9:16, 1:1, 4:3, 3:4 |
nano-banana-2 | $0.0096 | 1K, 2K, 4K | Fast general-purpose generation (default) |
nano-banana-2.1 | $0.0096 | 1K, 2K, 4K | The newest Nano Banana. nano-banana requests are made with it |
nano-banana-pro | $0.0144 | 1K, 2K, 4K | Higher quality, supports up to 8 reference images |
seedream-4.5-edit | $0.0423 | one size | Image editing — requires reference_image_url |
seedream-5.0-lite | $0.0372 | one size | Lightweight generation, optional reference |
| 200 | Queued |
| 400 | Validation error |
| 401 | Auth failed |
| 402 | Not enough balance |
| 403 | Plan required (until 1 Dec 2026) |
| 429 | Too busy |
Bring your own key and the render is free. Add a provider key at Settings and any model it covers renders on that key at no charge from Algrow: you pay the provider directly. It applies automatically; the credits_used field in the response comes back as 0 so you can tell which path a job took. Pass use_own_key: false on a request you would rather pay from your balance.
credits_used in the response is the charge counted in credits (1 credit = $0.03).
POST/api/generate-video
Generate AI videos from a text prompt. Supports Veo, Seedance, Kling and Grok. Returns a video URL uploaded to CDN. The price is charged to your balance upfront and refunded automatically if generation fails.
Paid per use, no daily limit.
Request Body (JSON)
| promptstring · required | Text description of the video to generate |
| modelstring · optional · default veo3-fast | Video model. See model table below. |
| input_reference_urlstring · Conditional | Reference image URL. Required for kling-2.6 and grok-image-to-video. Optional on every other model. |
| durationstring · optional · default 5 | Video duration for Kling (5 or 10), Grok (6–30) and Seedance (4–15; 4–30 on seedance-2-5 and seedance-2-5-flash). Out-of-range values are clamped, and you are billed the clamped duration. |
| resolutionstring · optional | Output resolution for Veo (720p, 1080p, 4k), Grok (480p, 720p, 1080p) and Seedance (480p, 720p, 1080p, 4k; each model's tiers are in the model table). Unsupported values fall back to the model's default tier. |
| soundboolean · optional · default false | Enable audio generation (Kling and Seedance). Doubles the price on Kling; Seedance costs the same with or without it. |
| aspect_ratiostring · optional · default 9:16 | Output aspect ratio for Veo, Seedance and Grok text-to-video. e.g. 9:16, 16:9 |
Available Models
veo3-lite | $0.0741 / $0.1851 / $0.7923 | Optional | Veo 3.1 Lite. Price per video by resolution: 720p / 1080p / 4k |
veo3-fast | $0.1479 / $0.3435 / $0.9507 | Optional | Veo 3.1 Fast. Price per video by resolution: 720p / 1080p / 4k |
veo3-quality | $1.3203 / $1.3467 / $1.9539 | Optional | Veo 3.1 Quality. Price per video by resolution: 720p / 1080p / 4k |
kling-2.6 | $0.2889 / $0.5778 $0.5778 / $1.1553 with sound | Required | Image-to-video. Price per video by duration 5s / 10s, doubled by sound |
grok-image-to-video | $0.0129 / $0.024 / $0.0423 per second | Required | Grok image-to-video. Price per second at 480p / 720p / 1080p, for a duration of 6–30s |
grok-text-to-video | $0.0129 / $0.024 / $0.0423 per second | Optional | Grok text-to-video. Same per-second prices as above |
seedance-2-mini | $0.0204 / $0.0438 per second | Optional | Seedance 2 Mini, the cheapest Seedance. Price per second at 480p / 720p, 4–15s, sound at no extra cost |
seedance-2-fast | $0.0444 / $0.0957 per second | Optional | Seedance 2 Fast. Price per second at 480p / 720p, 4–15s, sound at no extra cost |
seedance-2 | $0.0705 / $0.1515 / $0.3741 / $0.7626 per second | Optional | Seedance 2 Pro. Price per second at 480p / 720p / 1080p / 4k, 4–15s, sound at no extra cost |
seedance-2-5 | $0.1026 / $0.2307 per second | Optional | Seedance 2.5, the newest. Price per second at 480p / 720p, 4–30s, sound at no extra cost |
seedance-2-5-flash | $0.072 / $0.1614 per second | Optional | Seedance 2.5 Flash. Price per second at 480p / 720p, 4–30s, sound at no extra cost |
| 200 | Queued |
| 400 | Validation error |
| 401 | Auth failed |
| 402 | Not enough balance |
| 403 | Plan required (until 1 Dec 2026) |
| 429 | Too busy |
Costs are computed from the parameters you send. Duration is clamped and resolution snapped to the nearest supported tier before billing, so what you are charged always matches the video you get back. A per-second model is charged for the whole clip in one sum: its seconds times the price above, or a fraction of a cent less. The credit_cost field of the 200 response is the exact charge counted in credits (1 credit = $0.03).
Processing time: Video generation can take 30 seconds to 30 minutes depending on the model and duration. Poll /api/job-status/:job_id every 5 seconds for updates.
GET/api/generations
Your own AI Studio history, newest first. It is the same list as Studio > History in the app, so images and videos made in the web Studio, through this API or through the MCP all appear. Images include thumbnails. Free. Your API key must carry the generations scope.
No daily limit.
Query Parameters
| typestring · optional · default image | image or video. |
| limitinteger · optional · default 20 | How many items to return (1–100). |
| offsetinteger · optional · default 0 | Skip this many items (for paging). |
Item Fields
| idinteger | Image generation id (images). |
| image_urlsstring[] | The finished images (images). |
| aspect_ratiostring | Aspect ratio (images). |
| video_idstring | Video id (videos). For videos made through the API or MCP it is the job_id you were given. |
| video_urlstring|null | The finished video (videos). |
| seconds / size / credit_coststring / string / number | Duration, size and the charge counted in credits, 1 credit = $0.03 (videos). |
| prompt / model / statusstring | What was asked for, with which model, and where it stands. |
| errorstring|null | Why a failed generation failed. |
| created_at / completed_atstring|null | ISO timestamps. |
| 200 | Success |
| 400 | Invalid type |
| 401 | Auth failed |
| 403 | Scope missing |
