Media Generation

Generate images and videos, remove captions and watermarks.

Media tool. No plan needed. Pay as you go: each call is paid from your balance. See prices

llms.txt Full docs for LLMs

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.

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.

Request Body (JSON)
NameTypeRequiredDescription
video_urlstringRequiredA 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
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.
Example Request (a video Algrow hosts)
curl -X POST "https://api.algrow.online/api/caption-remover" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"video_url": "https://audio.algrow.online/studio/videos/user123/video_abc123.mp4"}'
Example Request (TikTok)
curl -X POST "https://api.algrow.online/api/caption-remover" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"video_url": "https://www.tiktok.com/@username/video/1234567890123456789"}'
Example Request (Instagram Reel)
curl -X POST "https://api.algrow.online/api/caption-remover" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"video_url": "https://www.instagram.com/reels/DWPuSZWATDC/"}'
Response 200 200
{ "success": true, "job_id": "a5358a1c-388d-47a3-989e-755291031d77", "status": "pending", "duration_seconds": 28.5, "credit_cost": 11, "message": "Caption removal queued. Poll /api/job-status/{job_id} for progress." }
Completed Job Response (via /api/job-status/:job_id)
{ "success": true, "job_id": "a5358a1c-388d-47a3-989e-755291031d77", "job_type": "caption_remover", "status": "completed", "output_url": "https://audio.algrow.online/api/video/caption_remover_abc123.mp4", "completed_at": 1774200779.08 }
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.

Request Body (JSON)
NameTypeRequiredDefaultDescription
promptstringRequired—Text description of the image to generate
modelstringOptionalnano-banana-2Image model. See model table below.
aspect_ratiostringOptional16:9Output aspect ratio: 16:9, 9:16, 1:1, 4:3 or 3:4
resolutionstringOptionalthe model's first sizeOutput 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_urlstringOptional—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.
fastbooleanOptionalfalseFast 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_keybooleanOptionaltrueUse 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.
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.
Available Models
ModelPrice per imageSizesNotes
gpt-image-2.6$0.00481KGPT 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.00481KGPT Image 2.5, the earlier version
gpt-image-2.6-flare$0.01592K, 4KGPT Image at 2K or 4K. Shapes: 16:9, 9:16, 1:1, 4:3, 3:4
nano-banana-2$0.00961K, 2K, 4KFast general-purpose generation (default)
nano-banana-2.1$0.00961K, 2K, 4KThe newest Nano Banana. nano-banana requests are made with it
nano-banana-pro$0.01441K, 2K, 4KHigher quality, supports up to 8 reference images
seedream-4.5-edit$0.0423one sizeImage editing — requires reference_image_url
seedream-5.0-lite$0.0372one sizeLightweight generation, optional reference
credits_used in the response is the charge counted in credits (1 credit = $0.03).
Example Request
curl -X POST "https://api.algrow.online/api/generate-image" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"prompt": "a sunset over mountains, photorealistic", "model": "nano-banana-2", "aspect_ratio": "16:9"}'
Example Request (a 4K image)
curl -X POST "https://api.algrow.online/api/generate-image" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"prompt": "a sunset over mountains, photorealistic", "model": "nano-banana-pro", "aspect_ratio": "16:9", "resolution": "4K"}'
Response 200 200
{ "success": true, "job_id": "536c20ce-5ee6-4b8d-9f7f-3994014c896e", "status": "pending", "credits_used": 0.48, "message": "Image generation queued. Poll /api/job-status/{job_id} for progress." }
Completed Job Response (via /api/job-status/:job_id)
{ "success": true, "job_id": "536c20ce-5ee6-4b8d-9f7f-3994014c896e", "job_type": "image", "status": "completed", "image_urls": ["https://audio.algrow.online/api/images/user123/1774201509_0_5b0a0050.png"], "completed_at": 1774201512.99 }
200 Queued 400 Validation error 401 Auth failed 402 Not enough balance 403 Plan required (until 1 Dec 2026) 429 Too busy
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.

Request Body (JSON)
NameTypeRequiredDefaultDescription
promptstringRequired—Text description of the video to generate
modelstringOptionalveo3-fastVideo model. See model table below.
input_reference_urlstringConditional—Reference image URL. Required for kling-2.6 and grok-image-to-video. Optional on every other model.
durationstringOptional5Video 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.
resolutionstringOptional—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.
soundbooleanOptionalfalseEnable audio generation (Kling and Seedance). Doubles the price on Kling; Seedance costs the same with or without it.
aspect_ratiostringOptional9:16Output aspect ratio for Veo, Seedance and Grok text-to-video. e.g. 9:16, 16:9
Available Models
ModelPriceReference ImageNotes
veo3-lite$0.0741 / $0.1851 / $0.7923OptionalVeo 3.1 Lite. Price per video by resolution: 720p / 1080p / 4k
veo3-fast$0.1479 / $0.3435 / $0.9507OptionalVeo 3.1 Fast. Price per video by resolution: 720p / 1080p / 4k
veo3-quality$1.3203 / $1.3467 / $1.9539OptionalVeo 3.1 Quality. Price per video by resolution: 720p / 1080p / 4k
kling-2.6$0.2889 / $0.5778
$0.5778 / $1.1553 with sound
RequiredImage-to-video. Price per video by duration 5s / 10s, doubled by sound
grok-image-to-video$0.0129 / $0.024 / $0.0423 per secondRequiredGrok 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 secondOptionalGrok text-to-video. Same per-second prices as above
seedance-2-mini$0.0204 / $0.0438 per secondOptionalSeedance 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 secondOptionalSeedance 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 secondOptionalSeedance 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 secondOptionalSeedance 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 secondOptionalSeedance 2.5 Flash. Price per second at 480p / 720p, 4–30s, sound at no extra cost
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).
Example Request (Veo)
curl -X POST "https://api.algrow.online/api/generate-video" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"prompt": "a cat walking through flowers", "model": "veo3-fast", "aspect_ratio": "9:16"}'
Example Request (Kling with reference image)
curl -X POST "https://api.algrow.online/api/generate-video" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"prompt": "person waving at camera", "model": "kling-2.6", "input_reference_url": "https://example.com/photo.jpg", "duration": "5"}'
Response 200 200
{ "success": true, "job_id": "e58464d7-ae8d-41b2-8c52-79bac92b1bb9", "status": "pending", "credit_cost": 4.93, "message": "Video generation queued. Poll /api/job-status/{job_id} for progress." }
Completed Job Response (via /api/job-status/:job_id)
{ "success": true, "job_id": "e58464d7-ae8d-41b2-8c52-79bac92b1bb9", "job_type": "video", "status": "completed", "video_url": "https://audio.algrow.online/studio/videos/user123/video_abc123.mp4", "completed_at": 1774200881.01 }
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.
200 Queued 400 Validation error 401 Auth failed 402 Not enough balance 403 Plan required (until 1 Dec 2026) 429 Too busy
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.

Query Parameters
NameTypeRequiredDefaultDescription
typestringOptionalimageimage or video.
limitintegerOptional20How many items to return (1–100).
offsetintegerOptional0Skip this many items (for paging).
Example Request
curl "https://api.algrow.online/api/generations?type=video&limit=10" \ -H "Authorization: Bearer YOUR_API_KEY"
Response 200 200
{ "success": true, "type": "video", "items": [ { "video_id": "e58464d7-ae8d-41b2-8c52-79bac92b1bb9", "prompt": "a cat walking through flowers", "model": "veo3-fast", "status": "completed", "video_url": "https://audio.algrow.online/studio/videos/user123/video_abc123.mp4", "credit_cost": 4.93, "created_at": "2026-11-01T09:14:22" } ], "total": 12, "has_more": true }
Item Fields
FieldTypeDescription
idintegerImage generation id (images).
image_urlsstring[]The finished images (images).
aspect_ratiostringAspect ratio (images).
video_idstringVideo id (videos). For videos made through the API or MCP it is the job_id you were given.
video_urlstring|nullThe finished video (videos).
seconds / size / credit_coststring / string / numberDuration, size and the charge counted in credits, 1 credit = $0.03 (videos).
prompt / model / statusstringWhat was asked for, with which model, and where it stands.
errorstring|nullWhy a failed generation failed.
created_at / completed_atstring|nullISO timestamps.
200 Success 400 Invalid type 401 Auth failed 403 Scope missing
esc
×

Buy More Credits

Boost
150
credits
$4.99
Good for:
  • ~12 min caption removal
Studio
1,000
credits
$31.49
Good for:
  • ~80 min caption removal
Custom amount 600 credits · $19.96
1506,000