Algrow

Docs

Algrow docs

Thumbnails

Generate, edit, and analyze YouTube thumbnails, including channel-style composition, faces, and presets.

27 endpoints on this page

Endpoints on this page
POST /api/thumbnailsGenerate a YouTube thumbnail from a title and one or more reference thumbnails
POST /api/thumbnails/channel-styleGenerate a thumbnail in a specific channel's own design style
POST /api/thumbnails/editEdit an already-generated thumbnail with a plain-English instruction
GET /api/thumbnails/modelsList the thumbnail models available to your account
GET /api/thumbnails/status/:task_idRetrieve the status and result of a thumbnail generation
POST /api/thumbnails/outliersFind topically-similar
POST /api/thumbnails/channel-videosPage through a channel's LONGFORM upload catalogue
GET /api/thumbnails/saved-channelsList your saved channel styles
POST /api/thumbnails/saved-channelsSave a channel style for one-click reuse
DELETE /api/thumbnails/saved-channels/{channel_id}Remove a channel from your saved styles
GET /api/thumbnails/instruction-presetsList your saved custom-instruction presets
POST /api/thumbnails/instruction-presetsSave (or update, by name) a reusable custom-instruction preset for thumbnail generation
DELETE /api/thumbnails/instruction-presets/{preset_id}Delete a custom-instruction preset by id
POST /api/thumbnails/extract-videoResolve a YouTube URL or video ID to its title
POST /api/thumbnails/analyzeVision-analyse a thumbnail image into a structured design breakdown
POST /api/thumbnails/composeEngineer an image-gen prompt from a title + a single reference
POST /api/thumbnails/compose-channelChannel-style compose without generating
GET /api/thumbnails/channel-presetsList your saved per-channel thumbnail presets
POST /api/thumbnails/channel-presetsSave a per-channel preset
DELETE /api/thumbnails/channel-presets/{preset_id}Delete a per-channel preset by id
GET /api/thumbnails/historyYour generated-thumbnail history
POST /api/thumbnails/detect-peopleCheck whether a reference image contains a person
POST /api/thumbnails/crop-referenceCrop a region out of a reference image and store it as a character reference
POST /api/thumbnails/search-facesSearch the web for photos of a named person so you can use one as a character reference
POST /api/thumbnails/import-faceCopy an external face photo into Algrow storage and return a stable URL the render pipeline can always fetch
POST /api/thumbnails/swap-facePut a real face onto a thumbnail you already rendered
POST /api/thumbnails/feedbackRecord a thumbs up or down on a generated thumbnail

POST/api/thumbnails

Generate a YouTube thumbnail from a title and one or more reference thumbnails. The reference is vision-analysed and its design grammar is folded into an engineered prompt for your new title, then rendered. Returns a task_id immediately — poll /api/thumbnails/status/{task_id} for the image URLs. Costs what its image model costs, the same as in Thumbnail Studio on the site: $0.0048 on GPT Image 2.6 or 2.5, $0.0096 on Nano Banana 2.1 or 2, $0.0144 on Nano Banana Pro (the default), $0.0372 on Seedream 5.0 Lite and $0.0423 on Seedream 4.5 Edit, at any size (fast: true on a Seedream model costs the same), charged to your balance upfront and refunded automatically if generation fails.

Your API key must carry the generations scope.

No daily limit.

Example Requestbash
curl -X POST "https://api.algrow.online/api/thumbnails" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "How I Built a $1M App in 30 Days", "reference_urls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"], "model": "nano-banana-pro"}'

POST/api/thumbnails/channel-style

Generate a thumbnail in a specific channel's own design style. We resolve the channel, pull its top longform thumbnails, analyse them, pick the one whose design best fits your title, and recreate that treatment for your title (the channel's subjects never carry over — only its design language). Returns a task_id immediately — poll /api/thumbnails/status/{task_id} for the image. Costs what its image model costs, the same as in Thumbnail Studio on the site: $0.0048 on GPT Image 2.6 or 2.5, $0.0096 on Nano Banana 2.1 or 2, $0.0144 on Nano Banana Pro (the default), $0.0372 on Seedream 5.0 Lite and $0.0423 on Seedream 4.5 Edit, at any size (fast: true on a Seedream model costs the same), charged to your balance upfront and refunded automatically on failure.

Requires the generations scope. The compose step runs inline and can take 30–90 seconds before the task_id is returned.

No daily limit.

Example Requestbash
curl -X POST "https://api.algrow.online/api/thumbnails/channel-style" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"channel": "@MrBeast", "title": "I Survived 50 Hours in the Arctic"}'

POST/api/thumbnails/edit

Edit an already-generated thumbnail with a plain-English instruction. The image goes back to the model as the canvas and only the requested change is applied — optional reference_urls are source material for the change ("insert THIS product"). Returns a task_id immediately — poll /api/thumbnails/status/{task_id} for the edited image. Costs what its image model costs, the same as in Thumbnail Studio on the site: $0.0048 on GPT Image 2.6 or 2.5, $0.0096 on Nano Banana 2.1 or 2, $0.0144 on Nano Banana Pro (the default), $0.0372 on Seedream 5.0 Lite and $0.0423 on Seedream 4.5 Edit, at any size (fast: true on a Seedream model costs the same), charged to your balance upfront and refunded automatically on failure. Note: gpt-image-2.5 requests are served by nano-banana-pro for edits.

Requires the generations scope.

No daily limit.

Example Requestbash
curl -X POST "https://api.algrow.online/api/thumbnails/edit" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"base_image_url": "https://cdn.algrow.online/thumbnails/a1b2c3d4.png", "instruction": "make the text yellow"}'

GET/api/thumbnails/models

List the thumbnail models available to your account, what a render on each costs counted in credits (1 credit = $0.03, so 0.48 is $0.0144), and the fast-mode rate for the Seedream models. A thumbnail costs what an image on the same model costs. Free — use this for capability discovery instead of hardcoding model names.

No daily limit.

Example Requestbash
curl "https://api.algrow.online/api/thumbnails/models" \
-H "Authorization: Bearer YOUR_API_KEY"

GET/api/thumbnails/status/:task_id

Retrieve the status and result of a thumbnail generation. Poll every 2–3 seconds until state is success or fail. Typical generation time is 30–90 seconds. On a failure, what was charged at submit is refunded automatically.

No daily limit.

Example Requestbash
curl "https://api.algrow.online/api/thumbnails/status/a1b2c3d4-..." \
-H "Authorization: Bearer YOUR_API_KEY"

POST/api/thumbnails/outliers

Find topically-similar, high-performing reference thumbnails for a topic. Free (a database lookup). Pass the returned thumbnail_url values straight into POST /api/thumbnails as reference_urls to build a thumbnail in a proven style. From 1 December 2026 a key with no plan can call this once its balance has money in it. With no plan and an empty balance it returns 402.

Requires the generations scope.

No daily limit.

Example Requestbash
curl -X POST "https://api.algrow.online/api/thumbnails/outliers" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"topic": "minecraft survival", "limit": 12}'

POST/api/thumbnails/channel-videos

Page through a channel's LONGFORM upload catalogue (shorts excluded) — newest first, 50 per page, each video with its thumbnail, title and view count, plus the channel's recent-median baseline (median_views) for outlier scoring (view_count / median_views). Free. Pick a thumbnail_url and pass it to POST /api/thumbnails as a reference.

Requires the generations scope.

No daily limit.

Example Requestbash
curl -X POST "https://api.algrow.online/api/thumbnails/channel-videos" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"channel": "@MrBeast"}'

GET/api/thumbnails/saved-channels

List your saved channel styles (identity only — name, handle, avatar, channel id). The catalogue itself is always fetched live via POST /api/thumbnails/channel-videos. Free.

Requires the generations scope.

No daily limit.

Example Requestbash
curl "https://api.algrow.online/api/thumbnails/saved-channels" \
-H "Authorization: Bearer YOUR_API_KEY"

POST/api/thumbnails/saved-channels

Save a channel style for one-click reuse. Snapshots the channel's name, handle and avatar. Upserts by channel. Free.

Requires the generations scope.

No daily limit.

Example Requestbash
curl -X POST "https://api.algrow.online/api/thumbnails/saved-channels" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"channel": "@MrBeast"}'

DELETE/api/thumbnails/saved-channels/{channel_id}

Remove a channel from your saved styles. Free.

Requires the generations scope.

No daily limit.

Example Requestbash
curl -X DELETE "https://api.algrow.online/api/thumbnails/saved-channels/UCX6OQ3DkcsbYNE6H8uQQuVA" \
-H "Authorization: Bearer YOUR_API_KEY"

GET/api/thumbnails/instruction-presets

List your saved custom-instruction presets. Apply one by passing its instructions as custom_instructions to the compose/generate endpoints. Free.

Requires the generations scope.

No daily limit.

Example Requestbash
curl "https://api.algrow.online/api/thumbnails/instruction-presets" \
-H "Authorization: Bearer YOUR_API_KEY"

POST/api/thumbnails/instruction-presets

Save (or update, by name) a reusable custom-instruction preset for thumbnail generation. Free.

Requires the generations scope.

No daily limit.

Example Requestbash
curl -X POST "https://api.algrow.online/api/thumbnails/instruction-presets" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Dark moody", "instructions": "dark moody palette, dramatic rim light"}'

DELETE/api/thumbnails/instruction-presets/{preset_id}

Delete a custom-instruction preset by id (from the list endpoint). Free.

Requires the generations scope.

No daily limit.

Example Requestbash
curl -X DELETE "https://api.algrow.online/api/thumbnails/instruction-presets/12" \
-H "Authorization: Bearer YOUR_API_KEY"

POST/api/thumbnails/extract-video

Resolve a YouTube URL or video ID to its title, channel, and max-resolution thumbnail. Free. Use the returned thumbnail_url as a reference for POST /api/thumbnails.

Requires the generations scope.

No daily limit.

Example Requestbash
curl -X POST "https://api.algrow.online/api/thumbnails/extract-video" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url_or_id": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"}'

POST/api/thumbnails/analyze

Vision-analyse a thumbnail image into a structured design breakdown (composition, palette, text, focal points). Free.

Requires the generations scope.

No daily limit.

Example Requestbash
curl -X POST "https://api.algrow.online/api/thumbnails/analyze" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"image_url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg"}'

POST/api/thumbnails/compose

Engineer an image-gen prompt from a title + a single reference, without generating. Free, synchronous. Stateless — there is no style id; save the returned prompt and pass it to POST /api/thumbnails as final_prompt to render.

Requires the generations scope. Two-step flow: compose → review/edit the prompt → POST /api/thumbnails with final_prompt.

No daily limit.

POST/api/thumbnails/compose-channel

Channel-style compose without generating — resolve the channel, analyse its top thumbnails, match the best design to your title. Free, synchronous (~30–90s). Returns the engineered prompt + the channel's source_thumb_urls; pass both to POST /api/thumbnails (final_prompt + reference_urls) to render. Stateless.

Requires the generations scope.

No daily limit.

GET/api/thumbnails/channel-presets

List your saved per-channel thumbnail presets — instructions, subject face, style references, and generation defaults, saved together under a label. Returns the 50 most recent. Free.

Requires the generations scope.

No daily limit.

Example Requestbash
curl "https://api.algrow.online/api/thumbnails/channel-presets" \
-H "Authorization: Bearer YOUR_API_KEY"

POST/api/thumbnails/channel-presets

Save a per-channel preset, or update an existing one by reusing its label. Only the fields you send are written; on update, everything you leave out keeps its current value. Free.

Requires the generations scope.

No daily limit.

Example Requestbash
curl -X POST "https://api.algrow.online/api/thumbnails/channel-presets" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"label": "Main channel", "instructions": "high contrast, single subject, no text", "aspect_ratio": "16:9"}'

DELETE/api/thumbnails/channel-presets/{preset_id}

Delete a per-channel preset by id (from the list endpoint). Free.

Requires the generations scope.

No daily limit.

Example Requestbash
curl -X DELETE "https://api.algrow.online/api/thumbnails/channel-presets/12" \
-H "Authorization: Bearer YOUR_API_KEY"

GET/api/thumbnails/history

Your generated-thumbnail history, newest first. One shared history across every path — the browser Studio, the MCP tools, and this API all appear. Each item carries the final image URL(s), the title it was made for, model, aspect ratio and created_at. Query params: limit (default 24, max 60) and offset; has_more signals another page. Free.

Requires the generations scope.

No daily limit.

Example Requestbash
curl "https://api.algrow.online/api/thumbnails/history?limit=24&offset=0" \
-H "Authorization: Bearer YOUR_API_KEY"

POST/api/thumbnails/detect-people

Check whether a reference image contains a person, so you can offer to swap in a real face before rendering. Cheaper and faster than a full analysis, and cached per image for six hours. Free.

Requires the generations scope.

No daily limit.

Example Requestbash
curl -X POST "https://api.algrow.online/api/thumbnails/detect-people" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"image_url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg"}'

POST/api/thumbnails/crop-reference

Crop a region out of a reference image and store it as a character reference. The crop happens server-side, so it works on images a browser canvas is not allowed to read back. Returns a hosted URL you can pass straight to generation as a character reference. Free.

Requires the generations scope.

No daily limit.

Example Requestbash
curl -X POST "https://api.algrow.online/api/thumbnails/crop-reference" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"image_url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg", "crop": {"x": 0.2, "y": 0.1, "w": 0.3, "h": 0.4}}'

POST/api/thumbnails/search-faces

Search the web for photos of a named person so you can use one as a character reference. Pass the chosen photo through /api/thumbnails/import-face before rendering — some image hosts block our downloader. 25 free a day on every plan, then $0.01 a search from your balance with pay-per-call on, up to 475 more a day. A search that finds nothing is not counted or charged.

Requires the generations scope.

Example Requestbash
curl -X POST "https://api.algrow.online/api/thumbnails/search-faces" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "Serena Williams"}'

POST/api/thumbnails/import-face

Copy an external face photo into Algrow storage and return a stable URL the render pipeline can always fetch. Run every search result through this before using it as a reference. Free.

Requires the generations scope.

No daily limit.

Example Requestbash
curl -X POST "https://api.algrow.online/api/thumbnails/import-face" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"image_url": "https://example.com/full.jpg", "fallback_url": "https://example.com/thumb.jpg"}'

POST/api/thumbnails/swap-face

Put a real face onto a thumbnail you already rendered. Queues like any other generation and returns a task_id to poll. Costs what its image model costs: $0.0048 on GPT Image 2.6 or 2.5, $0.0096 on Nano Banana 2.1 or 2, $0.0144 on Nano Banana Pro (the default), $0.0372 on Seedream 5.0 Lite and $0.0423 on Seedream 4.5 Edit, at any size; fast on a Seedream model costs the same.

Requires the generations scope.

No daily limit.

Example Requestbash
curl -X POST "https://api.algrow.online/api/thumbnails/swap-face" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"base_image_url": "https://audio.algrow.online/studio/images/ab12/render.png", "face_url": "https://audio.algrow.online/studio/references/ab12/face.png"}'

POST/api/thumbnails/feedback

Record a thumbs up or down on a generated thumbnail, with an optional comment. Sending the same task_id again updates the existing rating. Free.

Requires the generations scope.

No daily limit.

Example Requestbash
curl -X POST "https://api.algrow.online/api/thumbnails/feedback" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"task_id": "tsk_9f2a41c8", "rating": "down", "feedback": "face came out blurry"}'