Turbogen

v0.1.5
app.turbogen/turbogen Checked 4 days ago Published 18 days ago

Generate images, video and audio (Seedance, Kling, Veo 3.1, Nano Banana Pro) pay-as-you-go.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_models

List available generation models with their ids, aspect/voice choices, options and credit prices. kind: optional filter - "image", "video" or "audio".

ParameterTypeDescription
kind

generate_image

Generate an image and save it locally. Returns the file path, cost and remaining credits (plus a preview). prompt: what to draw. model: image model id (see list_models(kind="image")), default nano-banana-2. aspect: aspect ratio, e.g. "1:1", "16:9", "9:16". option: resolution/quality option such as "1K", "2K", "4K"; defaults to the model's first (cheapest) option. reference_images: optional list of local PNG/JPEG/WEBP paths used as references.

ParameterTypeDescription
prompt *string
aspectstring
modelstring
option
reference_images

generate_video

Generate a video clip and save it locally. Returns the file path, cost and remaining credits. prompt: the shot - subject, action, camera move, light. model: video model id (see list_models(kind="video")), default veo-3.1-fast. aspect: "16:9", "9:16" (some models also "1:1" etc.). option: duration such as "4s", "6s", "8s"; must be one the model offers. image_path: optional local image for image-to-video (first frame / reference). Video takes 1-5 minutes; the call waits up to 10 minutes.

ParameterTypeDescription
prompt *string
aspectstring
image_path
modelstring
optionstring

generate_audio

Generate audio (voiceover, background music, a song or a sound effect) and save it locally. text_or_prompt: for "voice" the text to speak; for "music"/"song"/"sfx" a description of the sound. model: "voice" (text to speech), "music" (instrumental background), "song" (sung, needs lyrics) or "sfx". aspect: the voice for "voice" (e.g. "Deep narrator", "Warm female"), the mood for "music" (e.g. "Cinematic", "Lo-fi"), the vocal for "song" ("Female vocal", "Male vocal", "Duet"); defaults to the first choice. See list_models(kind="audio"). option: length/durat…

ParameterTypeDescription
text_or_prompt *string
aspect
lyrics
modelstring
option

upscale_image

Upscale a local image 2x or 4x and save the result next to other outputs. path: local PNG/JPEG/WEBP file. scale: "2x" or "4x".

ParameterTypeDescription
path *string
scalestring

get_balance

Show the remaining credit balance of the account behind TURBOGEN_API_KEY.

job_status

Check a generation job by id (e.g. one that outlived the 10-minute wait). download: if true and the job is done, save its file to the output folder and return the path.

ParameterTypeDescription
job_id *string
downloadboolean