Algrow

Docs

Media Generation

Generate images and videos, remove captions and watermarks.

generate_image

Generate an AI image from a text prompt. Available on every plan. Costs about 1 studio credit per image (GPT Image 2.5 is 0.35, Nano Banana Pro is 1.68); fast=true costs 3 credits.

"Generate a fast image of an astronaut riding a horse on Mars"

ParameterTypeDefaultDescription
promptstringrequiredDescription of the image to generate
modelstringnano-banana-2Model: nano-banana-2 (default, 1), nano-banana-pro (1.68, supports up to 8 reference images), seedream-4.5-edit (1, requires reference_image_url), seedream-5.0-lite (1, optional reference), gpt-image-2.5 (0.35, cheapest). Credits are per image at 1K, and Nano Banana Pro is 2 at 2K and 4K; fast=true is 3 credits (6 on Nano Banana Pro), minimum 3.
aspect_ratiostring16:9Aspect ratio (e.g. 16:9, 9:16, 1:1)
reference_image_urlstringnullOptional reference image URL
reference_image_urlsarraynullOptional list of reference image URLs (up to 8 on nano-banana-pro; also multi-ref on nano-banana-2, seedream-5.0-lite, gpt-image-2.5). Takes precedence over reference_image_url.
fastbooleanfalseFast mode — bypasses the standard ladder for sub-30s outputs. Costs 3 credits per image, 6 on Nano Banana Pro. Defaults to false.

Fast mode: set fast=true to bypass the standard provider ladder and route the request through a low-latency lane. Costs 3 credits per image, 6 on Nano Banana Pro. Same models, same prompt; sub-30s outputs in the typical case. Reference images still work.

Example prompts
Generate a thumbnail image of a mysterious dark forest with glowing eyes, 16:9 aspect ratio

generate_video

Generate an AI video from a text prompt. Available on every plan. Cost depends on model, resolution and duration, from about 2.5 credits for a short Grok clip up to several hundred for 4K Seedance. get_credit_balance shows what is left.

"Make a 10-second Grok video of waves crashing on a beach, 16:9"

ParameterTypeDefaultDescription
promptstringrequiredDescription of the video to generate
modelstringveo3-fastModel: veo3-fast (default), kling-2.6, grok-text-to-video, grok-image-to-video, seedance-2-mini, seedance-2-fast, seedance-2, seedance-2-5
secondsstring4Not used. Kept so older clients keep working.
sizestringnullResolution (e.g. 720x1280, 1280x720)
durationstring5Duration in seconds: Kling 5 or 10, Grok 6–30, Seedance 4–15 (1–30 on seedance-2-5)
soundbooleanfalseInclude audio (Kling and Seedance; free on seedance-2-5)
aspect_ratiostring9:16Aspect ratio (e.g. 9:16, 16:9)
input_reference_urlstringnullReference image URL
resolutionstringnullOutput resolution: veo3 720p/1080p/4k; grok 480p/720p/1080p; seedance 480p/720p (plus 1080p/4k on seedance-2; seedance-2-5 is 480p/720p only)
Example prompts
Generate a vertical video of a cat walking through a neon-lit city at night

get_media_job_status

Check the status of a media generation job. Pass the job ID returned by generate_image, generate_video, or generate_tts; returns the job state and, when finished, the hosted result URL.

ParameterTypeDefaultDescription
job_idstringrequiredJob ID returned by generate_image, generate_video, or generate_tts

No example for this one.

get_credit_balance

Check what the user has left to spend. Returns studio credits (spent by image, video, thumbnail and caption-remover generations) with the next monthly reset, plus both voice character pools (ElevenLabs/MiniMax, and Stealth). Free.

"Do I have enough credits for a 10-second Seedance video?"

Example prompts
How many Algrow credits do I have left?

list_generations

The user's own AI Studio history, newest first. Images or videos made in the web Studio, the REST API or these MCP tools, with prompt, model, status, result URLs and timestamps. Images include thumbnails. Paged with limit + offset. Free.

"Find the fox image I made yesterday and give me its link"

ParameterTypeDefaultDescription
kindstringimageimage (default; thumbnails included) or video
limitinteger20How many to return (1–100). Default 20.
offsetinteger0Skip this many (for paging). Default 0.
Example prompts
Show me the last videos I generated

remove_captions

Remove captions or watermarks from a video. Costs 12 credits per minute (0.2 per second, rounded up). Requires Professional or Ultimate plan.

ParameterTypeDefaultDescription
video_urlstringrequiredURL of the video to remove captions from

No example for this one.

Media Generation · Docs · Algrow