Tanvo
v0.2.1AI photo, video and song apps plus image, video and music generation on Tanvo (tanvo.ai).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
find_apps Find a Tanvo app
Search Tanvo's ready-made AI apps (photo effects, trends, portraits, product shots, video effects, songs) by what the user wants, e.g. 'royal pet portrait', 'action figure of me', 'old photo restoration', 'dancing video', 'birthday song'. Each app has tuned preset looks with real example outputs. Use get_app for the looks, then generate_from_app to run one.
| Parameter | Type | Description |
|---|---|---|
kind | string | Only apps that make this kind of media |
limit | integer | |
query | string | What the user wants, in their words. Leave empty to list trending apps. |
get_app Show an app and its looks
One Tanvo app: the photos it needs, its preset looks (each with an example output and the prompt behind it), the model it runs on and the link that opens it in the browser.
| Parameter | Type | Description |
|---|---|---|
app * | string | App slug from find_apps |
list_models List models
Every image, video and music model with the options each accepts (aspect, resolution, duration, format, audio), how many reference images it takes, whether the free tier covers it, and its credit cost at default settings.
| Parameter | Type | Description |
|---|---|---|
kind | string | Filter by media kind |
account Account and credits
Who the server runs as (an API key account or the anonymous free tier) and how many credits are left.
generate_from_app Run a Tanvo app
Run one of Tanvo's apps with one of its looks on the user's photos, e.g. the 'renaissance' look of a pet portrait app. Photos go in the order of the app's inputs (see get_app). Uses the look's tuned prompt and model; `details` adds the user's own touch. Charges the look model's credits (shown by get_app) and refunds failures. Needs TANVO_API_KEY unless the look runs on the free engine.
| Parameter | Type | Description |
|---|---|---|
app * | string | App slug from find_apps |
details | string | Optional personal detail woven into the prompt, e.g. 'for my sister Ana' or 'wearing a red scarf' |
look | string | Look id from get_app; defaults to the first look |
photos | array | Photos as local file paths or public https URLs. Local files are uploaded for you. |
save_to | string | Optional folder to download the results into (defaults to TANVO_OUTPUT_DIR when set) |
wait | boolean | Wait for the result. Defaults to true for images and songs, false for video. |
generate_image Generate or edit an image
Text to image, or an edit / combination when `images` are given. Returns the image (inline when small) and its URL. The free tier runs studio-image-v1 without a key; other models need TANVO_API_KEY. Credits are charged per run and refunded if it fails.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | What to make: subject, setting, light and style. For edits, say what to change and what to keep. |
aspect | string | 1:1, 16:9, 9:16, 4:3, 3:4 … as the model allows (default: the model's) |
format | string | |
images | array | Photos as local file paths or public https URLs. Local files are uploaded for you. |
model | string | Model id from list_models |
resolution | string | 1K, 2K or 4K where the model supports it (default: the model's) |
save_to | string | Optional folder to download the results into (defaults to TANVO_OUTPUT_DIR when set) |
wait | boolean | Wait for the image (usually under a minute) |
generate_video Generate a video
Text to video, or animate a still when `image` is given (optionally ending on `end_image`). Video takes one to several minutes, so by default this returns at once with an id for get_generation. Needs TANVO_API_KEY.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | One scene: subject, action, camera movement, light and style |
aspect | string | 16:9, 9:16, 1:1 … (default: the model's) |
audio | boolean | Native sound on models that offer it |
duration | integer | Seconds; one of the model's options (default: the model's) |
end_image | string | End frame on models that support it |
image | string | Start frame: a local path or a public https URL |
model | string | Model id from list_models |
resolution | string | 480p, 720p, 1080p or 4K where supported (default: the model's) |
save_to | string | Optional folder to download the results into (defaults to TANVO_OUTPUT_DIR when set) |
wait | boolean | Wait for the clip (up to 8 minutes) |
generate_music Write a song
Makes two takes of a song on Suno V6, each an MP3 with cover art, a title and the lyrics as sung. Modes: Describe (prompt is one sentence about the song; lyrics are written for you), Lyrics (prompt is your lyrics, with [Verse] [Chorus] [Bridge] tags), Instrumental (prompt describes the sound). 60 credits a run; needs TANVO_API_KEY.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | |
mode | string | |
save_to | string | Optional folder to download the results into (defaults to TANVO_OUTPUT_DIR when set) |
style | string | Genre, instruments, tempo, voice, e.g. 'acoustic pop, hand claps, warm female vocal' |
title | string | Song title (Lyrics and Instrumental modes) |
vocal | string | Lean towards a male or female voice (Lyrics mode) |
wait | boolean | Wait for the songs (usually about a minute) |
get_generation Check a generation
Status and outputs of a run started earlier (poll this for videos).
| Parameter | Type | Description |
|---|---|---|
id * | string | |
save_to | string | Optional folder to download the results into (defaults to TANVO_OUTPUT_DIR when set) |
wait | boolean | Wait up to 2 minutes for it to finish |
open_in_tanvo Open in the browser
A link that opens Tanvo ready to go: an app on a chosen look, or the image / video / music studio with a model and prompt filled in. Use it when the user wants to upload photos and tweak settings themselves, or has no API key.
| Parameter | Type | Description |
|---|---|---|
app | string | App slug from find_apps |
kind | string | Studio to open when no app is given |
look | string | Look id from get_app |
model | string | Model id to open the studio on |
prompt | string | Prompt to prefill |