openFlow is an MCP server published by io.github.molkex, hosted at openflowmcp.com. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 56 tools, including generate_with_face, generate_image, music_generate, music_chat, music_stems.
Omni Flash and Veo video, Nano Banana images on Google Flow, from any MCP client
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Generate a NEW image of the SAME PERSON/character as an existing photo or portrait — dress them differently, move them somewhere else, make an avatar. This is the tool for "here is my photo, now put me in a suit / in a park", and also the ONLY tool for "generate another picture of <character I already made>". Pass exactly ONE of: character: the name you gave a character via create_character_from_description or create_character_from_photo(..., name=...). Looked up in your own list — see list_characters(). This is the normal way once a character has a name. photo_media_id: a mediaId directly (create_character_from_photo's `portrait_media_id`, or any earlier generate_image media_id) — for a one-off face you haven't registered as a named character. prompt: describe the NEW scene/outfit and say it is the same person, e.g. "the same man, now in a navy suit in a bright office". Why this and not entity_id/character_slot_index: a character's Flow CARD is not what carries resemblance into a NEW scene — the reference image itself does (verified live, repeatedly). Combining entity_id with an image reference in the same call also fails outright (HTTP 500). So this always generates from the reference image alone, never from entity_id — that is deliberate, not a workaround to fix later. project_id: put the result into a project made with create_project instead of the account's default one. photo_media_id itself stays account-bound, as always.
| Parameter | Type | Description |
|---|---|---|
| model | string | Image model key (e.g. BELUGA, NARWHAL, HARBOR_SEAL). |
| aspect | string | Image aspect ratio (IMAGE_ASPECT_RATIO_LANDSCAPE or IMAGE_ASPECT_RATIO_PORTRAIT). |
| prompt * | string | Text prompt describing what to generate. |
| character | any | Registered character name from list_characters() (use this or photo_media_id). |
| project_id | any | Optional Flow project UUID; omit to use the account default. |
| photo_media_id | any | mediaId from create_character_from_photo (use this or character). |
| include_preview | boolean | Include an inline image/frame preview in the tool response. |
{
"name": "generate_with_face",
"description": "Generate a NEW image of the SAME PERSON/character as an existing photo or\n portrait — dress them differently, move them somewhere else, make an avatar. This\n is the tool for \"here is my photo, now put me in a suit / in a park\", and also\n the ONLY tool for \"generate another picture of <character I already made>\".\n\n Pass exactly ONE of:\n character: the name you gave a character via create_character_from_description\n or create_character_from_photo(..., name=...). Looked up in your own list —\n see list_characters(). This is the normal way once a character has a name.\n photo_media_id: a mediaId directly (create_character_from_photo's\n `portrait_media_id`, or any earlier generate_image media_id) — for a one-off\n face you haven't registered as a named character.\n prompt: describe the NEW scene/outfit and say it is the same person, e.g.\n \"the same man, now in a navy suit in a bright office\".\n\n Why this and not entity_id/character_slot_index: a character's Flow CARD is not\n what carries resemblance into a NEW scene — the reference image itself does\n (verified live, repeatedly). Combining entity_id with an image reference in the\n same call also fails outright (HTTP 500). So this always generates from the\n reference image alone, never from entity_id — that is deliberate, not a\n workaround to fix later.\n\n project_id: put the result into a project made with create_project instead of the\n account's default one. photo_media_id itself stays account-bound, as always.\n ",
"inputSchema": {
"type": "object",
"title": "generate_with_faceArguments",
"required": [
"prompt"
],
"properties": {
"model": {
"enum": [
"BELUGA",
"GEM_PIX_2",
"HARBOR_SEAL"
],
"type": "string",
"title": "Model",
"default": "BELUGA",
"description": "Image model key (e.g. BELUGA, NARWHAL, HARBOR_SEAL)."
},
"aspect": {
"enum": [
"IMAGE_ASPECT_RATIO_LANDSCAPE",
"IMAGE_ASPECT_RATIO_PORTRAIT",
"IMAGE_ASPECT_RATIO_SQUARE",
"IMAGE_ASPECT_RATIO_LANDSCAPE_FOUR_THREE",
"IMAGE_ASPECT_RATIO_PORTRAIT_THREE_FOUR"
],
"type": "string",
"title": "Aspect",
"default": "IMAGE_ASPECT_RATIO_LANDSCAPE",
"description": "Image aspect ratio (IMAGE_ASPECT_RATIO_LANDSCAPE or IMAGE_ASPECT_RATIO_PORTRAIT)."
},
"prompt": {
"type": "string",
"title": "Prompt",
"description": "Text prompt describing what to generate."
},
"character": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Character",
"default": null,
"description": "Registered character name from list_characters() (use this or photo_media_id)."
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Project Id",
"default": null,
"description": "Optional Flow project UUID; omit to use the account default."
},
"photo_media_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Photo Media Id",
"default": null,
"description": "mediaId from create_character_from_photo (use this or character)."
},
"include_preview": {
"type": "boolean",
"title": "Include Preview",
"default": true,
"description": "Include an inline image/frame preview in the tool response."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Generate an image from a text prompt via Google Flow. model — pass ONE of these exact ids (from GET v1/flow/models, verified 2026-07-25): BELUGA = "Nano Banana 2" — the DEFAULT, ~30s (legacy id NARWHAL is accepted as an alias) GEM_PIX_2 = "Nano Banana Pro" — highest quality, ~40s, has a separate DAILY per-account quota (429 rotates accounts) HARBOR_SEAL = "Nano Banana 2 Lite" — ~40s Anything else is rejected with HTTP 400 — there is no silent fallback, so a wrong id wastes a round trip, not credits. Do NOT guess names like "nano_banana_pro": that is the model FAMILY key from the config, not the id the generate call takes. image_inputs: mediaIds from prior generations, edit-in-place (keeps them pixel-exact). control_images: up to 10 base64 image bytes (no data: prefix) of a locally rendered layout/control image — uploaded first, then prepended to image_inputs so the generator follows an exact spatial layout instead of prose. For whole-scene layout control prefer generate_scene. seed: 1..900000, fixes the generation so the same request returns the same image. Omit for a random seed. Needed to compare two prompts, two models or two control images honestly — without it every run is a fresh roll and the difference you are measuring drowns in noise. Measured 2026-08-09: with an UNCHANGED control image a fixed seed reproduces the frame to ~0.1%; once the control image changes, the seed no longer keeps the character — for that use image_inputs with a reference frame's mediaId. project_id: put the result into a project made with create_project instead of the account's default one — one project per end client keeps their work separate. Omit it and nothing changes from before. include_preview: ON by default since 2026-08-21 — a generated image nobody can see in the chat is half a result. Pass False to get the plain dict back and nothing else (worth doing in a loop of many generations, where the previews would fill the context). When on and the job finished with at least one url, the call returns the usual result dict, a short card naming the parameters actually used, and a small compressed JPEG (long side capped at 768px, ~100-160KB once base64-encoded) as an inline image content block, so a human can actually see the result without leaving the chat. This is deliberately a shrunk preview, never the original — the real Flow image is ~0.5MB (~740KB in base64), enough to burn a whole tool call's worth of a client's context budget on its own. The preview is for EYES ONLY: urls/media_ids stay the authoritative result in both modes, and every downstream call (upscale_image, image_inputs edit-in-place, ...) must keep using media_ids, never the preview bytes. If the preview download/shrink fails for any reason, this silently falls back to the plain (no-preview) result instead of failing the whole call. SAVE THE RESULT INTO THE USER'S PROJECT. A finished job also carries `download_urls` (plain URLs, no auth header needed) and `save_as` (the filenames to use). Unless the user said otherwise, write them to ./media/<save_as> in their working directory and tell them the path. The server keeps its own copy, but only the file in their project is theirs: our copy can be reclaimed when the disk fills, and the URLs expire within the hour. Downloading costs no credits and no quota. Returns {"urls": [...], "media_ids": [...]} when done, or a job_id to poll with check_job if it's not ready within ~60s (rare for images unless the device is cold). With the default include_preview=True and a finished result, returns [that dict, <card>, <inline image>] instead — see include_preview above. idempotency_key: optional, any string unique to this logical request (e.g. a uuid). Repeating a call with the same key
Generate a full song from a text brief via Google Flow Music (Lyria). prompt — free text: genre, mood, BPM, instruments, and whether you want vocals or an instrumental (e.g. "dreamy synthwave, retro 80s, 110 bpm, instrumental"). The Producer agent turns it into a finished track (usually ~2-3 minutes, and it returns TWO variants). model — "lyria" (Lyria 3.5, the default flagship) or "lyria-pro" (Lyria 3 Pro, legacy). lyrics — optional explicit words to sing; omit for the model to write its own / stay instrumental. SAVE THE RESULT. Each returned clip carries a public `audio_url` (a Google Cloud Storage .m4a, no auth header needed) plus `download_path` on our server. Unless the user said otherwise, download the audio into their project. Fields per clip: clip_id, title, duration (seconds), lyrics, audio_url, wav_url, image_id (cover, feeds music_video), image_url. Returns {"clips": [...], "media": [...], "conversation_id": "..."} when done, or a job_id to poll with check_job if it isn't ready within ~90s. conversation_id — pass the one from an earlier result to keep working on the same track ("same song but 30 seconds shorter"); the Producer remembers what it just made. Omit it for a fresh start. Every result carries one, so a follow-up is always possible.
| Parameter | Type | Description |
|---|---|---|
| model | string | Music model ("lyria" or "suno"). |
| lyrics | any | Optional song lyrics to sing. |
| prompt * | string | Music description (genre, mood, instruments, tempo). |
| conversation_id | any | Optional conversation ID to continue/refine a previous music session. |
Talk to the Google Flow Music Producer agent instead of one-shotting a track. Use this when the work is a conversation rather than a single brief: asking what it can do, having it write lyrics first, or editing a track it already made ("drop the vocals", "same song, 30 seconds shorter", "make the chorus bigger"). For a plain "make me a song about X", music_generate is the shorter path. message — what to say. conversation_id — omit on the first message, then pass the one that comes back so the Producer keeps its memory of the track. model — same choices as music_generate. Returns {"conversation_id", "text", "suggested_actions", "clips": [...], "media": [...]}. `text` is the Producer's reply. `suggested_actions` are the follow-ups it offers — show them to the user, they are good prompts for the next turn. `clips` is EMPTY when the Producer only talked, and filled when it decided to actually make audio; treat a filled `clips` exactly like a music_generate result and save the audio. A reply is usually seconds, but a turn that produces a song takes minutes and comes back as a job_id to poll with check_job.
| Parameter | Type | Description |
|---|---|---|
| model | string | Music model ("lyria" or "suno"). |
| message * | string | Message or revision instruction for the music model. |
| conversation_id | any | Optional conversation ID from a previous music_generate/music_chat. |
{
"name": "music_chat",
"description": "Talk to the Google Flow Music Producer agent instead of one-shotting a track.\n\n Use this when the work is a conversation rather than a single brief: asking what it can\n do, having it write lyrics first, or editing a track it already made (\"drop the vocals\",\n \"same song, 30 seconds shorter\", \"make the chorus bigger\"). For a plain \"make me a song\n about X\", music_generate is the shorter path.\n\n message — what to say. conversation_id — omit on the first message, then pass the one\n that comes back so the Producer keeps its memory of the track. model — same choices as\n music_generate.\n\n Returns {\"conversation_id\", \"text\", \"suggested_actions\", \"clips\": [...], \"media\": [...]}.\n `text` is the Producer's reply. `suggested_actions` are the follow-ups it offers — show\n them to the user, they are good prompts for the next turn. `clips` is EMPTY when the\n Producer only talked, and filled when it decided to actually make audio; treat a filled\n `clips` exactly like a music_generate result and save the audio.\n\n A reply is usually seconds, but a turn that produces a song takes minutes and comes back\n as a job_id to poll with check_job.\n ",
"inputSchema": {
"type": "object",
"title": "music_chatArguments",
"required": [
"message"
],
"properties": {
"model": {
"enum": [
"lyria",
"lyria-pro"
],
"type": "string",
"title": "Model",
"default": "lyria",
"description": "Music model (\"lyria\" or \"suno\")."
},
"message": {
"type": "string",
"title": "Message",
"description": "Message or revision instruction for the music model."
},
"conversation_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Conversation Id",
"default": null,
"description": "Optional conversation ID from a previous music_generate/music_chat."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Split a track we generated into stems (vocals, instrumental, drums, bass, …). clip_id — the id of a clip returned by music_generate (or music_video's song). Runs on the same account that made the track. Returns {"stems": {name: "/v1/media/..."}, "media": [...]} when done, or a job_id to poll with check_job. Each stem is a downloadable .m4a on our server (public download_path). Save the ones you need into the user's project.
| Parameter | Type | Description |
|---|---|---|
| clip_id * | string | Music clip UUID from music_generate or music_list. |
{
"name": "music_stems",
"description": "Split a track we generated into stems (vocals, instrumental, drums, bass, …).\n\n clip_id — the id of a clip returned by music_generate (or music_video's song). Runs on\n the same account that made the track. Returns {\"stems\": {name: \"/v1/media/...\"}, \"media\":\n [...]} when done, or a job_id to poll with check_job. Each stem is a downloadable .m4a on\n our server (public download_path). Save the ones you need into the user's project.\n ",
"inputSchema": {
"type": "object",
"title": "music_stemsArguments",
"required": [
"clip_id"
],
"properties": {
"clip_id": {
"type": "string",
"title": "Clip Id",
"description": "Music clip UUID from music_generate or music_list."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}List the user's music tracks.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of recent music clips to return. |
{
"name": "music_list",
"description": "List the user's music tracks.",
"inputSchema": {
"type": "object",
"title": "music_listArguments",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 20,
"description": "Maximum number of recent music clips to return."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Get metadata for a single music track.
| Parameter | Type | Description |
|---|---|---|
| clip_id * | string | Music clip UUID from music_generate or music_list. |
{
"name": "music_get",
"description": "Get metadata for a single music track.",
"inputSchema": {
"type": "object",
"title": "music_getArguments",
"required": [
"clip_id"
],
"properties": {
"clip_id": {
"type": "string",
"title": "Clip Id",
"description": "Music clip UUID from music_generate or music_list."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Download the raw .m4a file of a track to the server.
| Parameter | Type | Description |
|---|---|---|
| clip_id * | string | Music clip UUID from music_generate or music_list. |
{
"name": "music_download",
"description": "Download the raw .m4a file of a track to the server.",
"inputSchema": {
"type": "object",
"title": "music_downloadArguments",
"required": [
"clip_id"
],
"properties": {
"clip_id": {
"type": "string",
"title": "Clip Id",
"description": "Music clip UUID from music_generate or music_list."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Check remaining flowmusic credits and subscription tier.
No parameters.
{
"name": "music_credits",
"description": "Check remaining flowmusic credits and subscription tier.",
"inputSchema": {
"type": "object",
"title": "music_creditsArguments",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Build a location precisely from a scene-layout/v2 map and generate its plate. This is the "exact location building" path: instead of describing the room in prose (which the model reinterprets — furniture drifts, depths change between shots), it renders a control image from the map's boxes (each object a colored block at its true position/size/depth, plus a 1-meter floor grid in true perspective), then asks the generator to REPLACE each block with its real object in the same camera — so the plate follows the geometry pixel-wise. Same room from another camera_id is the same space. scene_layout: a scene-layout/v2 dict — {format, units, room{w,d,h}, objects{...boxes}, cameras{<id>:{pos,look_at,fov_deg,framing?}}, ...}. The camera must carry fov_deg. camera_id: which camera in scene_layout.cameras to render from. aspect: PORTRAIT (9:16), LANDSCAPE (16:9), SQUARE, PORTRAIT_THREE_FOUR (3:4) or LANDSCAPE_FOUR_THREE (4:3). 9:16 and 16:9 from one camera share the vertical FOV, so depths are identical across aspects. style / extra: prepended / appended prose (art style, mood) — geometry comes from the map. A box may carry `rot: [rx, ry, rz]` (degrees around the world X/Y/Z axes) and `pivot: [x, y, z]`, applied as p' = Rx·Ry·Rz·(p − pivot) + pivot, pivot defaulting to the box centre. That is how a POSE is expressed — a raised arm is a box rotated about the shoulder. Measured live 2026-08-09: moving a hand by 2–20 cm is ignored by the generator, rotating the arm by 15–60° comes through. Build motion out of angles. seed / image_inputs: same meaning as in generate_image. For a SEQUENCE of frames of one character, generate a reference frame first, then pass its mediaId as image_inputs on every following frame — that is what keeps the face, clothes and colours identical. A fixed seed alone does not: it only repeats an unchanged control image. depth: render the guide as a plain greyscale depth map instead of the colour hybrid (for an external depth-ControlNet). calibration: add frame markers, a back-wall grid and a 2 m ruler with 10 cm ticks — measured to cut the framing drift roughly fourfold. background: "dark" (default, unchanged) or "light". Use "light" when the plate must be on a white background: the generator sometimes copies the guide's own palette into the result, and a light guide makes that leak land as white rather than as a dark grid. control_png: return the layout guide itself, base64-encoded. OFF by default because it is hundreds of thousands of characters of TEXT — one guide can cost more context than the whole conversation around it. `control_png_kb` always reports its size. Returns {"urls", "media_ids", "legend", "control_png_kb"} — legend maps block colors to objects. Add control_png=True to also get the guide itself for inspection/acceptance.
Generate a video from a text prompt via Google Flow (Veo models). video_model_key options: abra_t2v_4s (default, 7 credits), veo_3_1_t2v_lite (10cr, visibly cleaner), veo_3_1_t2v (100cr, "Quality" tier), veo_3_1_t2v_fast (20cr). project_id: put the clip into a project made with create_project instead of the account's default one — one project per end client keeps their work separate. Such a project is PINNED to the account that created it: passing project_id also decides which account generates (and the call refuses instead of using another). Video generation routinely takes 1-3+ minutes, so this almost always returns a job_id rather than a finished result — call check_job with it, waiting a few seconds between checks, until status is 'done' or 'failed'. beats: how many DISTINCT action phases the prompt describes — "ears flick back", "tail lashes", "strikes the ball", "ball flies off" are four. Give it and the server picks the clip length for you (about two phases per second) and says in the reply what it picked and why. Measured 31.08.2026: the model STRETCHES whatever you describe over whatever length you ask for, so one phase in four seconds comes out as slow motion, and the same text at six seconds instead of four loses 15% of its movement. Adjectives are not phases: "springy cartoon motion" adds nothing. Leave beats out and the length you passed is used unchanged. seed (all video tools): the result always reports the seed it used. Same seed + same prompt + same inputs = the same clip, so a good take can be re-made. A fixed seed does NOT keep the composition when the prompt changes — use edit_video for that. idempotency_key: optional, any string unique to this logical request (e.g. a uuid). Repeating a call with the same key within 24h returns the SAME job instead of a new one — use it when you may retry after a timeout or a busy error.
| Parameter | Type | Description |
|---|---|---|
| seed | any | Optional integer RNG seed for reproducible output. |
| beats | any | Optional number of beats/segments for multi-beat video generation. |
| voice | any | Optional Gemini TTS voice name from list_voices() (e.g. Algieba, Aoede). |
Rewrite a video from a plain description: "make the sky stormy", "take the passer-by out of the shot", "warmer light", "put the product from the image on the table". Source — ONE of: media_id: id from a previous generate_video* result (OUR OWN generation). Job is pinned to the account that produced it. video_base64: base64-encoded YOUR OWN clip (mp4/mov/avi/3gp, up to 60s/1GB). Worker uploads it via Flow's Scotty resumable upload (reversed via Flow Web Ingredients, 2026-10-14) onto a healthy account, then runs the edit on that account. The upload itself costs no credits. start_sec / end_sec: edit only this piece of the source (both or neither, at most 10 s). The result is ONLY that piece — not the full clip with the piece replaced. reference_images_base64: up to 5 raw base64 images (no data: prefix); the object in the image is put into the clip — say in the prompt what to do with it. 20 credits per edit (abra_edit_360p: 10). Not a mask tool — describe the change and where it goes ("on the left", "in the sky"); mask/style image types are not honored. Prompt template that lands best — fill each part, one or two sentences each: Goal: what changes ("Replace the man on the left with the character from image 1"). Source: "The source video drives camera, motion, timing and lip movement." Reference: what to take from each image ("use only the character's look; ignore the image background"). Scene: describe the room/background in words (helps the model keep it intact). Keep: "Everything else stays exactly as in the source." Timing: "The new character inherits the exact movement and position of the one it replaces, from the first frame to the last." Draft on abra_edit_360p (10 credits) to check the edit lands, then run abra_edit; the seed does not carry an edit take across resolutions, so the final can differ in details. Only edit footage the user owns or is licensed to use; do not put real people's likeness into clips without their consent.
| Parameter | Type | Description |
|---|---|---|
| seed | any | Optional integer RNG seed for reproducible output. |
| aspect | string | Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT). |
Re-make a video with YOUR character in place of the person in it: same camera, movement, gestures, timing and mouth movement, the character's look. character: name from list_characters (its portrait is used as the look). Source — ONE of media_id (a video this service made) or video_base64 (your own clip). who: which person to replace when there are several ("the man on the left"). scene: one sentence about the room/background — helps keep it intact. extra: anything else for the model ("keep the on-screen text"). start_sec/end_sec: recast only that piece (at most 10 s); the result is that piece. Two steps: 1. final=False (default) -> draft on abra_edit_360p, 10 credits: cheap check that the recast works on this clip (who gets replaced, does the scene hold). 2. final=True -> 720p on abra_edit, 20 credits. NOTE: for edits the seed does NOT carry a take across resolutions (checked live 2026-10-15: the draft kept the person's hoodie, the 720p run replaced the whole body), so expect the final to differ in details from the draft. To repeat a FINAL take, reuse its seed with final=True. Only for footage the user owns or is licensed to use; never put a real person's likeness into a clip without their consent.
| Parameter | Type | Description |
|---|---|---|
| who | string | Description of the person in the source video to replace. |
| seed | any | Optional integer RNG seed for reproducible output. |
| extra | string | Additional prompt details appended to the recast instruction. |
| final | boolean | True for higher-quality final pass; False for fast preview. |
| scene | string | Optional scene/action override description. |
| aspect | string |
Continue a video this service already generated — Flow writes what happens next. media_id: the id from a previous generate_video* result (the bare id, not the /v1/media/... path). Only videos made through this service can be extended: the id belongs to a specific Google account's project, so the job is pinned to that account instead of rotating. An id we never produced comes back as a clear error, not a mystery failure. Use this for shots that need to run longer than one generation, or to keep a scene going without re-describing it: the continuation inherits the source clip's world, which a fresh text-to-video call cannot do. Default model veo_3_1_extension_lite: 10 credits, adds 8 seconds. project_id: which project the continuation lands in. The job is pinned to the source clip's account regardless, so pass the project the source was generated in (or omit it).
| Parameter | Type | Description |
|---|---|---|
| seed | any | Optional integer RNG seed for reproducible output. |
| aspect | string | Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT). |
| prompt * | string | Prompt describing what happens next in the continuation. |
| media_id * | string | Media UUID of the existing Flow video to extend. |
| project_id | any | Optional Flow project UUID; omit to use the account default. |
| include_preview | boolean | Include an inline image/frame preview in the tool response. |
| video_model_key | string |
Generate the transition between TWO given frames: the video starts at the first image and ends at the second one, Flow invents everything in between. This is Flow's "Кадры" with both slots filled — a different mechanism from generate_video_from_image, which only pins the FIRST frame and lets the ending drift. Use this when the ending matters: a logo that must resolve exactly, a character that must land in a specific pose, two stills from a storyboard that need connecting. Both images are raw base64 bytes, no data: URI prefix. The default model (veo_3_1_interpolation_lite, 10 credits, 8 seconds) is the cheap one — transitions are something you retry a few times, and defaulting to the 100-credit key would make every experiment expensive. beats: how many DISTINCT action phases the prompt describes — "ears flick back", "tail lashes", "strikes the ball", "ball flies off" are four. Give it and the server picks the clip length for you (about two phases per second) and says in the reply what it picked and why. Measured 31.08.2026: the model STRETCHES whatever you describe over whatever length you ask for, so one phase in four seconds comes out as slow motion, and the same text at six seconds instead of four loses 15% of its movement. Adjectives are not phases: "springy cartoon motion" adds nothing. Leave beats out and the length you passed is used unchanged. project_id: put the clip into a project made with create_project instead of the account's default one. Such a project is PINNED to the account that created it: passing project_id also decides which account generates (and the call refuses instead of using another). beats: how many DISTINCT action phases the prompt describes. The server then picks the clip length itself (about two phases per second) and says so in the reply. For a first+last-frame transition keep it low: the two frames already fix the endpoints, and asking for more seconds than the action needs only stretches it — measured 31.08.2026, the same text at six seconds instead of four lost 15% of its movement.
| Parameter | Type | Description |
|---|---|---|
| seed | any | Optional integer RNG seed for reproducible output. |
| beats | any | Optional number of beats/segments for multi-beat video generation. |
Generate a video that starts from a given image (i2v — image-to-video). Pass exactly one start: start_image_base64 (raw base64 image bytes, no data: URI prefix) or start_media_id (media_id of one of YOUR finished videos — the clip then starts from that video's `frame`, "last" by default, taken server-side). Mutually exclusive with reference-image (r2v) generation. Chain clips: every finished video carries `last_frame_path` and its media_id, so clip 2 = generate_video_from_image(prompt="...", start_media_id=<clip 1 media_id>), clip 3 the same from clip 2's media_id. The chained job runs on the account that made the source clip. For "make content that looks like this real photo of a person" specifically, prefer generate_video_with_reference (r2v) over this — see its docstring for why. i2v is better suited to "continue visually from this exact frame" (e.g. chaining clips), not identity preservation across a whole new scene. beats: how many DISTINCT action phases the prompt describes — "ears flick back", "tail lashes", "strikes the ball", "ball flies off" are four. Give it and the server picks the clip length for you (about two phases per second) and says in the reply what it picked and why. Measured 31.08.2026: the model STRETCHES whatever you describe over whatever length you ask for, so one phase in four seconds comes out as slow motion, and the same text at six seconds instead of four loses 15% of its movement. Adjectives are not phases. Leave beats out and the length you passed is used unchanged. project_id: put the clip into a project made with create_project instead of the account's default one. Such a project is PINNED to the account that created it: passing project_id also decides which account generates (and the call refuses instead of using another). voice / voice_style / voice_text: optional narration — same semantics as generate_video_with_reference. Only works with speech-capable Veo 3.1 i2v models.
| Parameter | Type | Description |
|---|---|---|
| seed | any | Optional integer RNG seed for reproducible output. |
| beats | any | Optional number of beats/segments for multi-beat video generation. |
| frame |
Generate a video using up to 7 reference images (r2v — e.g. a consistent character/subject across the video). reference_images_base64: raw base64-encoded image bytes (no data: URI prefix), up to 7 with Omni Flash keys (abra_r2v_*, the default), up to 3 with Veo r2v keys (veo_3_1_r2v_*). Mutually exclusive with start-image (i2v) generation. THIS IS THE RECOMMENDED WAY to get content that actually looks like a real person from a real photo — confirmed live 2026-07-11: r2v conditions generation on the reference photo's actual pixels and reliably preserves the real face, unlike the character system's `generate_character_image`/`generate_character_turnaround` (those condition on a TEXT description + a loosely-attached reference and were confirmed to drift to an unrelated-looking person). For a still IMAGE rather than video, use this and read `first_frame_path` (or `last_frame_path`) off the result once done (via check_job) — same-day testing found no reliable image-only equivalent: a plain generate_image call with image_inputs pointed at an external photo was confirmed to silently ignore the reference entirely. project_id: put the clip into a project made with create_project instead of the account's default one. Such a project is PINNED to the account that created it: passing project_id also decides which account generates (and the call refuses instead of using another). entity_id: optional — the entityId of a character you created and voiced with set_character_voice. Only meaningful together with video_model_key="veo_3_1_r2v_lite" (the one r2v model that generates speech natively); for abra_r2v_* models passing entity_id has no effect (and was known to 500 historically). When set with the right model, Flow attaches the character's audioReferences and lip-syncs the generated speech in the assigned TTS voice. The job runs on the character's own Google account (that's where the entity and its audioReferences live) — so an account different from your other calls is normal here, no action needed. voice / voice_style / voice_text: optional one-shot narration without creating a character. Pass a voice name from list_voices() (e.g. "Algieba") and either a voice_text or embed the spoken line in the prompt between quotes. Mutually exclusive with entity_id — a character already carries its own voice. Only works with speech-capable r2v models (veo_3_1_r2v_lite).
| Parameter | Type | Description |
|---|---|---|
| seed |
Generate a portrait or body image for an existing Flow character. entity_id: the character's entityId — from create_character or create_character_from_photo, or create_character_from_description's own result (which already calls this for slot 0 — no need to call it again for that slot). character_slot_index: 0 for portrait, 1 for body. Flow keeps the two slots visually consistent server-side once they share an entityId — no reference image needed for the body shot. ONE-SHOT PER SLOT, confirmed live 2026-07-25: each slot can be written exactly once — a second generate_character_image call into an ALREADY-FILLED slot fails (HTTP 500), it does not overwrite. Also confirmed: the FIRST write into a slot 500s on a card with no personality_notes saved yet — call update_character with personality_notes before the first generate_character_image on a fresh entity_id. If you're using create_character_from_description, both of these are already handled for slot 0; this caveat mainly matters if you're driving slot 1 (body) or entity_id yourself. THIS TOOL DOES NOT PLACE A CHARACTER INTO A NEW SCENE — it only ever (re)writes the character's own portrait/body slot, once. For "generate a picture of this character doing X", use generate_with_face(character=..., prompt=...) instead, which conditions on the reference image, not entity_id. CAVEAT confirmed live 2026-07-11: for a character seeded from a REAL PHOTO (create_character_from_photo), this text-prompt generation is NOT reliable for identity — it conditions on a text description, not the real photo's pixels, and was confirmed to drift to an unrelated-looking person even with a detailed physical description saved on the entity. Fine for invented/stylized characters. If the goal is "content that looks like a real person," use generate_video_with_reference (r2v) instead — see its docstring. Only works for the account whose project actually owns this entity_id — characters are per-account, same as projects. Pass that account as `account` (optional for a character saved in list_characters(): it is looked up).
| Parameter | Type | Description |
|---|---|---|
| model | string | Image model key (e.g. BELUGA, NARWHAL, HARBOR_SEAL). |
| aspect | string | Image aspect ratio (IMAGE_ASPECT_RATIO_LANDSCAPE or IMAGE_ASPECT_RATIO_PORTRAIT). |
Create a new, empty Flow character (just gets you an entity_id — no portrait/body, no description yet). Plain HTTP, no browser involved. Low-level building block — for "make me a character from a description and generate its portrait", call create_character_from_description instead of this; it does this step plus the two below in the right order for you. Next steps after you have entity_id, IN THIS ORDER (reversing them 500s on the first portrait write, confirmed live 2026-07-25): 1) update_character with personality_notes (and display_name) — the slot generation below needs a saved description to succeed at all; 2) generate_character_image with character_slot_index=0 (portrait), then =1 (body) — each slot accepts exactly ONE write, a second call into an already-filled slot 500s rather than overwriting.
| Parameter | Type | Description |
|---|---|---|
| account * | string | Google account email from your pool that owns this resource. |
{
"name": "create_character",
"description": "Create a new, empty Flow character (just gets you an entity_id — no portrait/body,\n no description yet). Plain HTTP, no browser involved.\n\n Low-level building block — for \"make me a character from a description and generate\n its portrait\", call create_character_from_description instead of this; it does this\n step plus the two below in the right order for you.\n\n Next steps after you have entity_id, IN THIS ORDER (reversing them 500s on the first\n portrait write, confirmed live 2026-07-25): 1) update_character with\n personality_notes (and display_name) — the slot generation below needs a saved\n description to succeed at all; 2) generate_character_image with\n character_slot_index=0 (portrait), then =1 (body) — each slot accepts exactly ONE\n write, a second call into an already-filled slot 500s rather than overwriting.\n ",
"inputSchema": {
"type": "object",
"title": "create_characterArguments",
"required": [
"account"
],
"properties": {
"account": {
"type": "string",
"title": "Account",
"description": "Google account email from your pool that owns this resource."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Create a new Flow character whose portrait (and optionally body) is a REAL PHOTO, not a text description or generation. Both photos become the character's slot-0 (portrait) and slot-1 (body) images directly — Flow's own upload mechanism in its New Character composer, discovered live 2026-07-11 — no image generation call happens for either slot, so resemblance is exact, not "similar style". Boots the on-demand Chrome for this account (~15-30s, longer if body_photo_base64 is also given), same as create_character, no Android/recaptcha involved. photo_base64: raw base64-encoded image bytes, no data: URI prefix — portrait. body_photo_base64: same format, optional — ideally a full-body photo of the same person, for a guaranteed-exact body image (no generation at all for that slot). physical_description: IMPORTANT, look at the photo yourself and write this — a detailed physical description (build, hair color/style, eye color, clothing, distinguishing features), similar in spirit to: "Adult male, mid-20s, ~180cm, lean build. Medium-brown wavy hair, light blue-grey eyes, faint stubble. Wears a dark grey hoodie, dark jeans, white sneakers." This gets saved into the same "Character Info" field as Flow's own UI. CORRECTED same day as this tool was first built: an earlier version of this doc claimed body/multi-view generation can never stay consistent with a photo-seeded portrait — WRONG, confirmed live. The actual missing ingredient was this detailed text spec — with it, both generate_character_turnaround and generate_character_expression_sheet below produce genuinely consistent, on-model results (reproduced live against Flow's real UI, not just guessed). Skip this only for a bare portrait-only character with no further generation planned. Next step after you have entity_id: update_character for a display name, then generate_character_turnaround / generate_character_expression_sheet if you want those (skip if you already passed body_photo_base64 for an exact body photo — generating over it would replace the real photo with a generated approximation). Fidelity note added 2026-07-11 (later same day): "genuinely consistent" above means consistent WITH ITSELF across panels (same invented-looking person in every view), not necessarily an exact match to the real person's face — real-world feedback was "I don't recognize myself." Good for stylized/invented character sheets; if the goal is content that's recognizably the actual person, use generate_video_with_reference (r2v) instead, which conditions on the real photo's pixels rather than a description. name: optional, added 2026-07-25 — give the character a short human-readable name and it's saved to YOUR list (list_characters()), keyed on the uploaded photo as the identity reference (portrait_media_id). Once named, use generate_with_face(character=name, prompt=...) for further images instead of tracking portrait_media_id yourself. Must be unique among your own characters; a clash does NOT fail the call — the character is still created in Flow, just reported back with a `registration_error` instead of a `name` in the result, so pick a different name and register it yourself later if that happens.
Invent a new character from a text description and generate its portrait — the full "make me a character, no photo involved" path in ONE call, instead of gluing together create_character + update_character + generate_character_image yourself. name: short and unique among YOUR OWN characters (see list_characters()) — how you'll refer to this character afterwards, e.g. character="detective_marlowe" in generate_with_face. description: physical description — build, hair, eyes, clothing, distinguishing features. Saved on the character's card AND used to generate the portrait, so write it as concretely as you would any image prompt. account: Google account (and its project) to create the character under. The portrait is written to Flow's card exactly ONCE — that slot cannot be regenerated. Calling this again with the SAME name does not retry it: it fails fast with a clear message instead of hitting a raw HTTP 500 downstream. Want a different look? Use a new name. Returns {"name", "entity_id", "portrait_media_id", "portrait_url", "hint"} once done. Next step for ANY further image of this character: generate_with_face( character=name, prompt="...") — never entity_id/character_slot_index, which only works for that one portrait write and cannot place the character into new scenes.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Unique registry name for this character. |
| model | string | Image model key (e.g. BELUGA, NARWHAL, HARBOR_SEAL). |
| aspect | string | Image aspect ratio (IMAGE_ASPECT_RATIO_LANDSCAPE or IMAGE_ASPECT_RATIO_PORTRAIT). |
| account * | string | Google account email from your pool that owns this resource. |
| description * | string |
List the characters YOU created (create_character_from_description, or create_character_from_photo with name=...) and can now generate more images of via generate_with_face(character=<name>, prompt=...). Read-only, no Flow calls, no credits spent. Returns {"characters": [{"name", "source", "description", "portrait_media_id", "entity_id", "project", "account", "created_at"}, ...]}, oldest first. `source` is "description" (create_character_from_description) or "photo" (create_character_from_photo). `portrait_media_id` is what generate_with_face actually uses — a character with it set to null has no usable reference yet.
No parameters.
{
"name": "list_characters",
"description": "List the characters YOU created (create_character_from_description, or\n create_character_from_photo with name=...) and can now generate more images of\n via generate_with_face(character=<name>, prompt=...). Read-only, no Flow calls,\n no credits spent.\n\n Returns {\"characters\": [{\"name\", \"source\", \"description\", \"portrait_media_id\",\n \"entity_id\", \"project\", \"account\", \"created_at\"}, ...]}, oldest first.\n `source` is \"description\" (create_character_from_description) or \"photo\"\n (create_character_from_photo). `portrait_media_id` is what generate_with_face\n actually uses — a character with it set to null has no usable reference yet.\n ",
"inputSchema": {
"type": "object",
"title": "list_charactersArguments",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Generate a single image showing the character's FULL BODY from 3 angles (front/side/back) in one row, labeled — a "turnaround sheet". Pure HTTP as of 2026-07-26 — no browser involved (see below for what changed and what that does and does NOT prove). History, so the mechanism change doesn't erase the reason this tool exists: confirmed live 2026-07-11 that the plain Android-bearer generate_character_image path produces an INCONSISTENT result for this exact kind of multi-view prompt, even with a detailed physical description already saved on the entity — a real web composer (Chrome/CDP) driving Flow's own translation/agent layer was reliably consistent for the same prompt. That is why this tool exists as a separate path from plain image generation, and that finding still stands. What changed 2026-07-26: this no longer drives that browser composer. The underlying job type (generate_character_scene) moved to a THIRD mechanism, not either of the two compared above — plain HTTP with image_inputs=[the character's own portrait_media_id from the registry], the same face-preserving mechanism generate_with_face uses. This was done to remove the last browser dependency (worker.py's BROWSER_JOB_TYPES is now empty), not because this new path's multi-view consistency was re-verified — it has NOT been checked live yet whether image_inputs alone holds up as well as the old composer did for a 3-angle sheet. Treat multi-view reliability here as unverified-but-plausible until confirmed by eye against real output, not as re-proven. Still recommend a detailed physical description saved first (create_character_from_photo's physical_description param, or update_character's personality_notes) — that recommendation carries over from the 2026-07-11 finding above; whether it still matters mechanically on this new image_inputs path (vs. the composer's own entityContext-driven translation layer, which this path does not use) has not been separately tested, so keeping it costs nothing and there's no evidence yet that it's safe to drop. account: Google account that owns this entity_id's project. character_slot_index: which slot to write the result into (0 = portrait, 1 = body — default 1).
| Parameter | Type | Description |
|---|---|---|
| account * | string | Google account email from your pool that owns this resource. |
Generate a single image showing the character's FACE with several different expressions in one row, labeled — an "expression sheet". Same job type and same history as generate_character_turnaround — see its docstring for the full story: the 2026-07-11 finding (plain Android-bearer image path is inconsistent for multi-view prompts, the real web composer was reliably consistent) is why this tool exists, but as of 2026-07-26 it no longer drives that composer — pure HTTP with image_inputs=[portrait_media_id] instead (no browser). Multi-view consistency on THIS new path has not been re-verified live yet; the recommendation to keep a detailed physical description saved on the entity carries over from the old finding but hasn't been separately re-tested against the new mechanism either. account: Google account that owns this entity_id's project. expressions: list of expression labels, e.g. ["нейтральное выражение", "удивление", "лёгкая улыбка", "смех"] (default if omitted). Keep to 3-5 for a readable single-row layout. character_slot_index: which slot to write into (0 = portrait, default — this overwrites the existing portrait image with the expression sheet, matching how this was used when reproducing the feature; 1 = body slot also works).
| Parameter | Type | Description |
|---|---|---|
| account * | string | Google account email from your pool that owns this resource. |
| entity_id * | string | Flow character entityId (from create_character or list_characters). |
| expressions | any | Optional list of facial expressions to render. |
| character_slot_index | integer | Target character slot (usually 0 for portrait expressions). |
Create a NEW Flow project on one of your Google accounts and return its project_id. Use this to give every one of YOUR OWN clients their own namespace: create a project per client once, then pass that project_id to generate_image / generate_video so their results never mix with anyone else's. account — which Google account creates it (see flow_dashboard / check_credits for the emails). The project is PINNED to that account: every later generate_* call that passes this project_id runs ONLY on it, and refuses instead of silently using your other accounts (18.11.2026 — asked for by a client whose corporate Google account may only serve one project). So one corporate account + one project per client = no mixing, and no need for a second subscription just to isolate an account. Projects created before this change, or from the cabinet, have no pin and keep rotating over all accounts. Media_ids stay account-bound either way: a follow-up that reuses one (image_inputs edit-in-place, extend_video, upscale) only works on the account that produced it. name — optional human-readable title, e.g. the client's name. The returned project is usable for generation IMMEDIATELY. It may not show up in the Flow web UI's project list (`registered: false` in the result says so) — that only affects browsing in Google's own interface, not this API: every result comes back as urls/media_ids in the generation response either way. Returns {"project_id": ..., "account": ..., "registered": true|false}.
| Parameter | Type | Description |
|---|---|---|
| name | any | Optional project title; auto-generated if omitted. |
| account * | string | Google account email from your pool that owns this resource. |
{
"name": "create_project",
"description": "Create a NEW Flow project on one of your Google accounts and return its project_id.\n\n Use this to give every one of YOUR OWN clients their own namespace: create a project\n per client once, then pass that project_id to generate_image / generate_video so\n their results never mix with anyone else's.\n\n account — which Google account creates it (see flow_dashboard / check_credits for the\n emails). The project is PINNED to that account: every later generate_* call that passes\n this project_id runs ONLY on it, and refuses instead of silently using your other\n accounts (18.11.2026 — asked for by a client whose corporate Google account may only\n serve one project). So one corporate account + one project per client = no mixing, and\n no need for a second subscription just to isolate an account. Projects created before\n this change, or from the cabinet, have no pin and keep rotating over all accounts.\n Media_ids stay account-bound either way: a follow-up that reuses one (image_inputs\n edit-in-place, extend_video, upscale) only works on the account that produced it.\n name — optional human-readable title, e.g. the client's name.\n\n The returned project is usable for generation IMMEDIATELY. It may not show up in the\n Flow web UI's project list (`registered: false` in the result says so) — that only\n affects browsing in Google's own interface, not this API: every result comes back as\n urls/media_ids in the generation response either way.\n\n Returns {\"project_id\": ..., \"account\": ..., \"registered\": true|false}.\n ",
"inputSchema": {
"type": "object",
"title": "create_projectArguments",
"required": [
"account"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name",
"default": null,
"description": "Optional project title; auto-generated if omitted."
},
"account": {
"type": "string",
"title": "Account",
"description": "Google account email from your pool that owns this resource."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Speak `text` aloud with a Gemini TTS voice and return a WAV (24 kHz, mono, 16-bit). Takes ~15-25 seconds for up to 300 characters. Costs no image/video quota. Russian, English and most other languages work; the voice name only sets the timbre. text: what to say, up to 5000 characters. Google's TTS itself takes at most 500 characters (about 30 seconds of speech) per request, so text longer than 300 characters is split at sentence boundaries, spoken piece by piece and joined into ONE WAV — about 30 seconds of waiting per 1000 characters; the result then also has `chunks` and `media_ids`. A lone word or a fragment that reads like an instruction ("in a modern style.") may still be refused: give it a full sentence. voice: one of list_voices() (default "Algieba"). style: optional delivery hint, e.g. "calm, slow" or "cheerful". Empty = neutral. project_id: optional, a project from create_project; omit for the account's default. include_preview: also return `wav_preview_b64`, the FIRST 8 KB of the file as base64. Off by default: it is only the first fraction of a second and costs context. To get the whole file open `download_url`, or call fetch_media(path=download_path, force_bytes=True). Returns {audio_url, download_url, download_path, media_id, duration_sec_estimate, size_bytes, voice} — `audio_url` is Google's signed link and EXPIRES, `download_url` is ours. While still rendering, returns a job_id: call check_job. idempotency_key: optional, any string unique to this logical request (e.g. a uuid). Repeating a call with the same key within 24h returns the SAME job instead of a new one — use it when you may retry after a timeout or a busy error.
| Parameter | Type | Description |
|---|---|---|
| text * | string | Speech text to synthesize. |
| style | string | Optional delivery instruction (e.g. "calm, slow"). |
| voice | string | Gemini TTS preset voice name from list_voices(). |
| project_id | any |
Attach a preset Gemini TTS voice to a Flow character for auto-lipsync in future videos. Synthesizes a short reference audio in the chosen voice and attaches its media_id to the character's `audio_references`. This is a ONE-TIME setup per character: any subsequent video generation that references this character will auto-lipsync with this voice (same mechanism Flow Web uses when you set a voice via its UI). Calling it again overwrites the voice. Pass sample_text=null for a short default sample — only the resulting audio is kept as a reference; the content of the text is not used for later videos. character_id: entityId from create_character / create_character_from_photo. account: Google account email that owns this character. voice: one of list_voices() (default "Algieba"). style: optional delivery hint, e.g. "calm, slow". sample_text: optional short sentence; default is a short neutral Russian sentence. project_id: optional project; omit for the account's default. Returns {entity_id, voice, media_id, audio_url, duration_sec_estimate, audio_references}.
| Parameter | Type | Description |
|---|---|---|
| style | string | Optional delivery instruction (e.g. "calm, slow"). |
| voice | string | Gemini TTS preset voice name from list_voices(). |
| account * | string | Google account email from your pool that owns this resource. |
| project_id | any | Optional Flow project UUID; omit to use the account default. |
| sample_text | any | Optional sample sentence to synthesize as the voice reference. |
| character_id * | string |
The 30 Gemini TTS voices usable with generate_voice: name, gender, short description. Gender/description are a rough guide only; any voice reads any language.
No parameters.
{
"name": "list_voices",
"description": "The 30 Gemini TTS voices usable with generate_voice: name, gender, short description.\n Gender/description are a rough guide only; any voice reads any language.",
"inputSchema": {
"type": "object",
"title": "list_voicesArguments",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Check projects for a Google account (or all). NOTE: for the credit BALANCE and a full at-a-glance overview, prefer `flow_dashboard()` — it returns real credit numbers per account + totals. This tool only returns the project list.
| Parameter | Type | Description |
|---|---|---|
| account | any | Optional Google account email; omit to check all your connected accounts. |
{
"name": "check_credits",
"description": "Check projects for a Google account (or all). NOTE: for the credit BALANCE and a\n full at-a-glance overview, prefer `flow_dashboard()` — it returns real credit\n numbers per account + totals. This tool only returns the project list.",
"inputSchema": {
"type": "object",
"title": "check_creditsArguments",
"properties": {
"account": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Account",
"default": null,
"description": "Optional Google account email; omit to check all your connected accounts."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}The account-pool control panel: for EVERY Google account, the real credit balance, subscription tier, project count, and health status, plus totals — one call, formatted for reading. Use this to answer "how many accounts, how many credits on each and in total, what projects" — the operator's dashboard. Returns a `summary` string (human-readable table) plus structured `accounts` and `totals`. Credit numbers are live (Flow's /v1/credits). Credit REFRESH date is not exposed by Flow's API, so it's shown as an estimate note, not a hard date.
No parameters.
{
"name": "flow_dashboard",
"description": "The account-pool control panel: for EVERY Google account, the real credit\n balance, subscription tier, project count, and health status, plus totals — one\n call, formatted for reading. Use this to answer \"how many accounts, how many\n credits on each and in total, what projects\" — the operator's dashboard.\n\n Returns a `summary` string (human-readable table) plus structured `accounts` and\n `totals`. Credit numbers are live (Flow's /v1/credits). Credit REFRESH date is not\n exposed by Flow's API, so it's shown as an estimate note, not a hard date.\n ",
"inputSchema": {
"type": "object",
"title": "flow_dashboardArguments",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Save a character's display name and/or personality notes. Without this, a character stays 'Untitled Character' with no description even after portrait/body images exist. account must be whichever Google account's project owns this entity_id.
| Parameter | Type | Description |
|---|---|---|
| account * | string | Google account email from your pool that owns this resource. |
| entity_id * | string | Flow character entityId (from create_character or list_characters). |
| display_name | any | New display name for the character in Flow. |
| personality_notes | any | Personality/background notes stored on the character. |
{
"name": "update_character",
"description": "Save a character's display name and/or personality notes. Without this, a\n character stays 'Untitled Character' with no description even after portrait/body\n images exist. account must be whichever Google account's project owns this entity_id.",
"inputSchema": {
"type": "object",
"title": "update_characterArguments",
"required": [
"entity_id",
"account"
],
"properties": {
"account": {
"type": "string",
"title": "Account",
"description": "Google account email from your pool that owns this resource."
},
"entity_id": {
"type": "string",
"title": "Entity Id",
"description": "Flow character entityId (from create_character or list_characters)."
},
"display_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Display Name",
"default": null,
"description": "New display name for the character in Flow."
},
"personality_notes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Personality Notes",
"default": null,
"description": "Personality/background notes stored on the character."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Upscale an existing generated image (from a prior generate_image call) to a higher resolution -- the same "1K/2K/4K" choice Flow offers when downloading. account: the Google account whose project owns media_id. Do not guess it and do not ask the user: the generate_image result you already have carries it in the `account_used` field -- pass that value verbatim. A media_id only exists inside the project of the account that produced it, so any other account returns a clean error. target_resolution: "2K" or "4K". Not every image supports upscaling (depends on the source model/size) and 4K may be locked behind a paid plan tier on some accounts -- both cases come back as a clean error rather than a crash, so just report it if that happens instead of retrying. Takes roughly 15-30s -- returns a job_id to poll with check_job if it is not done within ~35s. Returns {"media_id": <new upscaled mediaId>, "download_path": "/v1/media/....jpg", "resolution": ...} when done.
| Parameter | Type | Description |
|---|---|---|
| account * | string | Google account email from your pool that owns this resource. |
| media_id * | string | Media UUID returned by a prior image or video generation. |
| target_resolution | string | Target resolution ("2K" or "4K"). |
{
"name": "upscale_image",
"description": "Upscale an existing generated image (from a prior generate_image call) to a\n higher resolution -- the same \"1K/2K/4K\" choice Flow offers when downloading.\n\n account: the Google account whose project owns media_id. Do not guess it and do not\n ask the user: the generate_image result you already have carries it in the\n `account_used` field -- pass that value verbatim. A media_id only exists inside the\n project of the account that produced it, so any other account returns a clean error.\n\n target_resolution: \"2K\" or \"4K\". Not every image supports upscaling (depends on the\n source model/size) and 4K may be locked behind a paid plan tier on some accounts --\n both cases come back as a clean error rather than a crash, so just report it if that\n happens instead of retrying.\n\n Takes roughly 15-30s -- returns a job_id to poll with check_job if it is not done\n within ~35s.\n\n Returns {\"media_id\": <new upscaled mediaId>, \"download_path\": \"/v1/media/....jpg\",\n \"resolution\": ...} when done.\n ",
"inputSchema": {
"type": "object",
"title": "upscale_imageArguments",
"required": [
"media_id",
"account"
],
"properties": {
"account": {
"type": "string",
"title": "Account",
"description": "Google account email from your pool that owns this resource."
},
"media_id": {
"type": "string",
"title": "Media Id",
"description": "Media UUID returned by a prior image or video generation."
},
"target_resolution": {
"enum": [
"2K",
"4K"
],
"type": "string",
"title": "Target Resolution",
"default": "2K",
"description": "Target resolution (\"2K\" or \"4K\")."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Upscale an existing generated video (from a prior generate_video call) to a higher resolution -- the same "270p/720p/1080p/4K" choice Flow offers when downloading. Counts against the weekly free video limit (3 a week without a subscription), like any other video operation, and spends the account's own Flow credits. account: the Google account whose project owns media_id. Do not guess it and do not ask the user: the generate_video result you already have carries it in the `account_used` field -- pass that value verbatim. A media_id only exists inside the project of the account that produced it, so any other account returns a clean error. target_resolution: "1080p", "4K" or "from_360p" (omni_upsampler_360p -- lifts a 360p draft to normal quality; not yet live-tested). 4K may be locked behind a paid plan tier on some accounts -- comes back as a clean error rather than a crash, just report it. aspect: "VIDEO_ASPECT_RATIO_LANDSCAPE" or "VIDEO_ASPECT_RATIO_PORTRAIT". If omitted, automatically inherited from the parent job that generated media_id (falling back to VIDEO_ASPECT_RATIO_LANDSCAPE only if unknown). Slower than generation: it is kicked off and then polled like a normal video generation -- returns a job_id to poll with check_job if it is not done within ~40s. Returns {"media_id": <new upscaled mediaId>, "download_path": "/v1/media/....mp4", "resolution": ...} when done.
| Parameter | Type | Description |
|---|---|---|
| aspect | any | Optional output aspect ratio. |
| account * | string | Google account email from your pool that owns this resource. |
| media_id * | string | Media UUID returned by a prior image or video generation. |
| target_resolution | string | Target resolution ("1080P" or "4K"). |
Check the status/result of a job previously returned by generate_image, generate_video, generate_video_from_image, or generate_video_with_reference. Besides status/result it reports PROGRESS, so you can tell the person something truthful instead of "still waiting": queue_position — how many jobs are ahead (1 = next to be picked up); only while queued queue_seconds — how long it sat in the queue run_seconds — how long the generation itself has been running account_used — which Google account it ran on, once finished while running, also: elapsed_s — seconds since the worker picked it up attempt / accounts_total — which of the owner's Google accounts is being tried (attempt > 1 means earlier accounts failed and it rotated on) phase — submitting | voice_synth | polling (polling = Google accepted it and it is rendering; that is the normal wait) last_error — why the previous account's attempt failed (emails masked) hint — the same thing in one human sentence A job that is queued behind others needs patience; one that has been running far longer than its model's typical time (see list_models) is the one worth reporting as stuck. Rotation has a ceiling: a video stops trying new accounts after ~10 min (images and voice after ~3 min), and stops early when the same error repeats on 3 accounts in a row — the job then fails with that error and the number of accounts tried, so tell the person the reason instead of retrying the identical request. Once status is 'done', SAVE THE FILES: the response carries `download_urls` (no auth header needed) and `save_as` (filenames). Write them into the user's project — e.g. ./media/<save_as> — and tell them where. The URLs expire within the hour, and the server's own copy can be reclaimed when its disk fills; the copy in their project is the one that lasts.
| Parameter | Type | Description |
|---|---|---|
| job_id * | string | Job UUID returned by any generation tool. |
| include_preview | boolean | Include an inline image/frame preview in the tool response. |
Download a generated media file (video, frame) and return its bytes, base64-encoded, so the file can be saved or shown even though the media endpoint isn't publicly reachable with your MCP key. THIS IS THE EXPENSIVE PATH — prefer `download_url` from the job result. Bytes returned here travel as TEXT, and text is where context dies: a 480 KB audio stem is ~640 thousand base64 characters, roughly 160 000 tokens, in ONE tool result. The same file behind `download_url` costs about twenty. An inline image preview is cheap by comparison (it travels as an image, ~450 tokens) — it is base64 in a text field that hurts. Because of that this tool REFUSES big files by default and hands back a download link instead. Pass force_bytes=True only when you genuinely need the bytes inside the conversation and know what it costs. path: the `download_path` / `first_frame_path` / `last_frame_path` value from a job result (e.g. "/v1/media/<id>.mp4"), or just the bare filename. max_kb: size ceiling for an in-band answer (default 64 KB ≈ 21 000 tokens). Returns {"filename", "media_type", "base64"}. The download is scoped to your own account group — you can only fetch media your key produced. Note videos can be several MB, so the base64 payload is large; fetch only when you actually need the bytes (to save/display), not to check status (use check_job for that). On storage: the server keeps a local cache of results and, when it runs short of disk, drops the OLDEST files first, whether fetched or not. A dropped file is fetched back from the Google account that made it on the next request; if that takes a while you get `retry_after_s` — call again then. If that account is disconnected, the error names it and gives `reconnect_url`: tell the user to reconnect it, then retry. Only when the original cannot be fetched back does it answer 410 with the date. Saving the bytes locally is still the way to keep something for good.
| Parameter | Type | Description |
|---|---|---|
| path * | string | Media download_path or filename (e.g. "/v1/media/<uuid>.jpg"). |
| max_kb | integer | Maximum inline preview size in KB. |
Attach one of YOUR OWN Google accounts to the pool using an oauth_token captured on the USER'S OWN machine (password/2FA never leave it). This is the self-serve onboarding path — no server-side browser, no SSH. PREFERRED PATH — no oauth_token handling at all: call flow_status; its `next_step.command` holds a PERSONAL one-line command per OS (mac / linux / win) with the owner's ticket inside. RUN IT YOURSELF in the user's terminal. The script submits the token to the server by itself and prints "Готово — аккаунт ... подключён"; you do NOT call add_account_token afterwards. (The same command is shown to the user in the cabinet: https://openflowmcp.com/account#accounts.) Node 22+ is the only requirement. FALLBACK (only if flow_status has no command, or the script says it could not submit automatically) — run the generic command, which has no ticket and just prints a line: curl -sL https://openflowmcp.com/onboard_local.js | node Windows PowerShell: irm https://openflowmcp.com/onboard_local.js -OutFile o.js; node o.js It opens the user's own Chrome at accounts.google.com/EmbeddedSetup. Tell them to log in and press Accept, then wait until the page hangs on a spinner (normal, the token is already issued), then go BACK to the terminal window running the script and press Enter — the script grabs the token only after Enter, it does not do it by itself. Do not close the browser window before that. The script prints ONE JSON line: {"status":200,"oauth_token":..., "email":...}; with a personal command it also adds "submitted":true, which means the account is already connected and you are done. Without "submitted":true, pass oauth_token and email here. If it prints "need_email": true, the account address could not be read off the page — ask the user which Google account they just signed into and pass that as `email`, or re-run with ONBOARD_EMAIL=them@gmail.com in front of the command. The oauth_token is SINGLE-USE: if this call fails, the user must log in again for a FRESH token — never retry the same one. On success the account is bound to YOUR key's owner group and the worker picks it up within ~30s (no restart). Adding an account is always allowed — even for a key that has already spent its free quota, since that is a prerequisite, not a reward. Only onboard accounts YOU control — a master token grants full account access.
| Parameter | Type | Description |
|---|---|---|
| email * |
Send a message to the openFlow human operator (no Telegram needed). Replies come from a human, usually within hours; read them with support_replies.
| Parameter | Type | Description |
|---|---|---|
| context | any | Optional context such as job_id or error details. |
| message * | string | Message or bug report to send to the operator. |
{
"name": "contact_support",
"description": "Send a message to the openFlow human operator (no Telegram needed).\n Replies come from a human, usually within hours; read them with support_replies.",
"inputSchema": {
"type": "object",
"title": "contact_supportArguments",
"required": [
"message"
],
"properties": {
"context": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Context",
"default": null,
"description": "Optional context such as job_id or error details."
},
"message": {
"type": "string",
"title": "Message",
"description": "Message or bug report to send to the operator."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Your support thread, including operator replies (from a human, usually within hours). `since` is a unix timestamp: only newer messages.
| Parameter | Type | Description |
|---|---|---|
| since | any | Optional Unix timestamp; return only replies after this time. |
{
"name": "support_replies",
"description": "Your support thread, including operator replies (from a human, usually within\n hours). `since` is a unix timestamp: only newer messages.",
"inputSchema": {
"type": "object",
"title": "support_repliesArguments",
"properties": {
"since": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Since",
"default": null,
"description": "Optional Unix timestamp; return only replies after this time."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Begin connecting a Google ANTIGRAVITY account (used by the Claude/Gemini models via OmniRoute — not a Google Flow account). Returns `authorize_url` and `state`. The next step is on the USER's side: give them `next_step` wording and the URL, they sign in and press Accept in their browser and hand you the `code=...` value from the antigravity.google/oauth-callback page. Then call add_antigravity_submit(code, state) with the `state` returned here.
No parameters.
{
"name": "add_antigravity_start",
"description": "Begin connecting a Google ANTIGRAVITY account (used by the Claude/Gemini models via\n OmniRoute — not a Google Flow account). Returns `authorize_url` and `state`.\n\n The next step is on the USER's side: give them `next_step` wording and the URL, they\n sign in and press Accept in their browser and hand you the `code=...` value from the\n antigravity.google/oauth-callback page. Then call add_antigravity_submit(code, state)\n with the `state` returned here.",
"inputSchema": {
"type": "object",
"title": "add_antigravity_startArguments",
"properties": {}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Finish connecting a Google Antigravity account started with add_antigravity_start. `code` is the value of `?code=...` on the antigravity.google/oauth-callback page the user landed on; `state` is what add_antigravity_start returned. Returns {status, account_id, account_email, requires_project}. By default this also creates the GCP project in one step (`complete=True`) and adds `project_id`. Pass `complete=False` to defer and call `complete_antigravity_account(account_id)` later. If auto-onboarding fails the result keeps `requires_project: true` and carries `onboard_error`; retry with `complete_antigravity_account(account_id)`. Errors: "unknown state" (start again) or "google_api_error" (the code was rejected or already used; start again).
| Parameter | Type | Description |
|---|---|---|
| code * | string | Authorization code (or full redirect URL) from the OAuth callback. |
| state * | string | OAuth state token returned by add_antigravity_begin. |
| complete | boolean | Automatically run onboarding completion after token exchange. |
{
"name": "add_antigravity_submit",
"description": "Finish connecting a Google Antigravity account started with add_antigravity_start.\n\n `code` is the value of `?code=...` on the antigravity.google/oauth-callback page the\n user landed on; `state` is what add_antigravity_start returned. Returns\n {status, account_id, account_email, requires_project}. By default this also creates\n the GCP project in one step (`complete=True`) and adds `project_id`. Pass\n `complete=False` to defer and call `complete_antigravity_account(account_id)` later.\n If auto-onboarding fails the result keeps `requires_project: true` and carries\n `onboard_error`; retry with `complete_antigravity_account(account_id)`. Errors:\n \"unknown state\" (start again) or \"google_api_error\" (the code was rejected or\n already used; start again).",
"inputSchema": {
"type": "object",
"title": "add_antigravity_submitArguments",
"required": [
"code",
"state"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Authorization code (or full redirect URL) from the OAuth callback."
},
"state": {
"type": "string",
"title": "State",
"description": "OAuth state token returned by add_antigravity_begin."
},
"complete": {
"type": "boolean",
"title": "Complete",
"default": true,
"description": "Automatically run onboarding completion after token exchange."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Finish an Antigravity account started with add_antigravity_submit. Creates the GCP project needed before the account can serve LLM requests. Idempotent — safe to retry; already-onboarded accounts return their project_id.
| Parameter | Type | Description |
|---|---|---|
| account_id * | integer | Numeric account ID from list_llm_accounts. |
{
"name": "complete_antigravity_account",
"description": "Finish an Antigravity account started with add_antigravity_submit. Creates the GCP\n project needed before the account can serve LLM requests. Idempotent — safe to retry;\n already-onboarded accounts return their project_id.",
"inputSchema": {
"type": "object",
"title": "complete_antigravity_accountArguments",
"required": [
"account_id"
],
"properties": {
"account_id": {
"type": "integer",
"title": "Account Id",
"description": "Numeric account ID from list_llm_accounts."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List the Google accounts you connected for the LLM relay with their tier (Free/Pro/Ultra); refresh=True re-checks the tier with Google. The model is chosen per request (chat tools / relay `model`); pin an account with the `X-Account-Email` header.
| Parameter | Type | Description |
|---|---|---|
| refresh | boolean | Force refresh account quota/status from upstream. |
{
"name": "list_llm_accounts",
"description": "List the Google accounts you connected for the LLM relay with their tier (Free/Pro/Ultra); refresh=True re-checks the tier with Google.\n The model is chosen per request (chat tools / relay `model`); pin an account with the `X-Account-Email` header.",
"inputSchema": {
"type": "object",
"title": "list_llm_accountsArguments",
"properties": {
"refresh": {
"type": "boolean",
"title": "Refresh",
"default": false,
"description": "Force refresh account quota/status from upstream."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}What this key still needs before it can do everything — READ-ONLY, spends nothing. Call this BEFORE the first generation of a session, whenever a call is refused, and whenever the user asks why something does not work. It answers in one shot: is a Google account connected, how much of the free trial is left, is the key linked to a GitHub identity, how much of this week's free limit is left (`weekly`). The important field is `next_step`: it is the single most blocking thing right now, with ready-made wording (`text` in Russian, `text_en` in English) and a `url` to open. When it is null, nothing is missing. DO NOT keep this to yourself. If `next_step` is set, say it to the user in their own language and give them the URL — a step like signing in happens in THEIR browser and cannot be done by you. When `next_step` is about connecting a Google account it also carries `command` (personal, per OS): run it for the user in their terminal, it submits the token by itself — no copying or pasting. add_account_token is only the fallback. To add an **Antigravity** Google account from inside this chat, use `add_antigravity_start` -> open the URL -> paste the `code` back with `add_antigravity_submit(code, state)`. `support` is the operator's Telegram, the service's only human channel; there is no email on file for a self-registered key, so nobody will reach out to the user first.
No parameters.
{
"name": "flow_status",
"description": "What this key still needs before it can do everything — READ-ONLY, spends nothing.\n\n Call this BEFORE the first generation of a session, whenever a call is refused, and\n whenever the user asks why something does not work. It answers in one shot: is a\n Google account connected, how much of the free trial is left, is the key linked to a\n GitHub identity, how much of this week's free limit is left (`weekly`).\n\n The important field is `next_step`: it is the single most blocking thing right now,\n with ready-made wording (`text` in Russian, `text_en` in English) and a `url` to open.\n When it is null, nothing is missing.\n\n DO NOT keep this to yourself. If `next_step` is set, say it to the user in their own\n language and give them the URL — a step like signing in happens in THEIR browser\n and cannot be done by you. When `next_step` is about connecting a Google account it\n also carries `command` (personal, per OS): run it for the user in their terminal, it\n submits the token by itself — no copying or pasting. add_account_token is only the\n fallback. To add an **Antigravity** Google account from inside this chat, use\n `add_antigravity_start` -> open the URL -> paste the `code` back with\n `add_antigravity_submit(code, state)`. `support` is the operator's Telegram, the service's only\n human channel; there is no email on file for a self-registered key, so nobody will\n reach out to the user first.",
"inputSchema": {
"type": "object",
"title": "flow_statusArguments",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Check whether the Flow generation backend is reachable and see current queue depth (queued + warming + running jobs), plus disk state (`disk`: free_gb, below_target, below_floor, refusing_jobs); status is "degraded" when disk is below the floor. Note: the Android emulator is now OFF — generation runs on a pure-HTTP token path, so there's no warm-up delay anymore.
No parameters.
{
"name": "flow_health",
"description": "Check whether the Flow generation backend is reachable and see current queue\n depth (queued + warming + running jobs), plus disk state (`disk`: free_gb, below_target,\n below_floor, refusing_jobs); status is \"degraded\" when disk is below the floor. Note: the Android emulator is now OFF —\n generation runs on a pure-HTTP token path, so there's no warm-up delay anymore.",
"inputSchema": {
"type": "object",
"title": "flow_healthArguments",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Live from Google, no credits, use to answer «is this model still working?». Reads Google Flow's own current model catalog (modelConfig: usage keys, per-tier credit prices, durations) and the availability status of each model family, through one of the caller's connected accounts. READ-ONLY: nothing is generated and no credits are spent. Cached for ~1 minute server-side. Use list_models instead for the short curated list of ids this service's tools accept; use this one when you need Google's ground truth (a key that is missing here has been withdrawn upstream). Returns {models: <modelConfig>, statuses: <family availability or {"error": ...}>, account_used: <email>}. Needs at least one connected Google account.
No parameters.
{
"name": "list_live_models",
"description": "Live from Google, no credits, use to answer «is this model still working?».\n\n Reads Google Flow's own current model catalog (modelConfig: usage keys, per-tier\n credit prices, durations) and the availability status of each model family, through\n one of the caller's connected accounts. READ-ONLY: nothing is generated and no credits\n are spent. Cached for ~1 minute server-side. Use list_models instead for the short\n curated list of ids this service's tools accept; use this one when you need Google's\n ground truth (a key that is missing here has been withdrawn upstream).\n\n Returns {models: <modelConfig>, statuses: <family availability or {\"error\": ...}>,\n account_used: <email>}. Needs at least one connected Google account.\n ",
"inputSchema": {
"type": "object",
"title": "list_live_modelsArguments",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}List every valid model id this service accepts — READ-ONLY, spends no credits, calls nothing outside this service. Call this BEFORE generate_image/generate_video if you're unsure of an exact id: guessing (e.g. the family key "nano_banana_pro" or a display name like "Nano Banana 2" instead of the id "NARWHAL") gets a hard HTTP 400 on a call that already committed to a task, not a helpful list. Returns: images: {id: {label, typical_seconds, notes}} for the three valid `model` values (generate_image, generate_character_image). videos: {id: {label, credits, duration_s, mode, orientation}} for the curated `video_model_key` values this server's tools accept via their Literal type — mode is one of t2v/i2v/r2v (which generate_* tool it belongs to). `credits` or `duration_s` is null where Google's docs never gave that number — a null does NOT mean free/instant, it means unconfirmed. defaults: the id each tool falls back to when you omit the parameter — unchanged from before this tool existed, so already-working callers aren't affected. Note: service/api.py (the HTTP layer these tools call through) additionally accepts a wider set of rarer, exotic video_model_key values not listed here (confirmed-real but uncommon r2v/i2v variants) — this tool only lists the ones actually worth choosing from, to stay a short, readable list.
No parameters.
{
"name": "list_models",
"description": "List every valid model id this service accepts — READ-ONLY, spends no credits,\n calls nothing outside this service. Call this BEFORE generate_image/generate_video\n if you're unsure of an exact id: guessing (e.g. the family key \"nano_banana_pro\" or\n a display name like \"Nano Banana 2\" instead of the id \"NARWHAL\") gets a hard HTTP\n 400 on a call that already committed to a task, not a helpful list.\n\n Returns:\n images: {id: {label, typical_seconds, notes}} for the three valid `model` values\n (generate_image, generate_character_image).\n videos: {id: {label, credits, duration_s, mode, orientation}} for the curated\n `video_model_key` values this server's tools accept via their Literal type —\n mode is one of t2v/i2v/r2v (which generate_* tool it belongs to). `credits` or\n `duration_s` is null where Google's docs never gave that number — a null does\n NOT mean free/instant, it means unconfirmed.\n defaults: the id each tool falls back to when you omit the parameter — unchanged\n from before this tool existed, so already-working callers aren't affected.\n\n Note: service/api.py (the HTTP layer these tools call through) additionally\n accepts a wider set of rarer, exotic video_model_key values not listed here\n (confirmed-real but uncommon r2v/i2v variants) — this tool only lists the ones\n actually worth choosing from, to stay a short, readable list.\n ",
"inputSchema": {
"type": "object",
"title": "list_modelsArguments",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Запрос к Gemini 3 Pro через вашу подписку Google AI Pro. Использует ваш подключённый Google-аккаунт (подключите на /connect-google). Расходует вашу квоту Google, не наши токены. Args: messages: список {"role": "user|assistant", "content": "..."}. system: системный промпт (опционально). max_tokens: максимальное количество токенов в ответе (по умолчанию 65536 — максимум модели, допустимо 1..65536). ВАЖНО: токены «размышления» Gemini 3 входят в этот лимит — при малом значении ответ обрывается (finish_reason "length"). thinking_budget: бюджет токенов на размышление (необязательно): 0 — выключить (если модель позволяет), -1 — динамически, N — верхняя граница. thinking_level: уровень размышления (необязательно): "low" | "high" (у Flash ещё "minimal" / "medium"). Приоритетнее thinking_budget. account_email: форсировать конкретный Google-аккаунт из вашего пула (например, "user@gmail.com"). Если такого в пуле нет — ошибка. account_tag: форсировать аккаунты с указанным тэгом (round-robin по подмножеству пула; тэги назначаются в кабинете). Returns: {"text": str, "usage": {"input_tokens": int, "output_tokens": int}}. Raises: MCPError: если ключ невалиден, Google не подключён, или квота исчерпана.
| Parameter | Type | Description |
|---|---|---|
| system | any | Optional system prompt. |
| messages * | array | Conversation turns, list of {"role": "user"|"assistant", "content": "..."}. |
| max_tokens | integer | Max output tokens (1..65536; thinking tokens count toward this limit). |
| account_tag | any | Pin to accounts with this tag (round-robin within the subset). |
| account_email | any |
Быстрый и дешёвый Gemini 3 Flash — для коротких запросов, классификации, извлечения полей из текста. Идёт в вашу подписку Google, наши токены не тратит. Args: messages: список {"role": "user|assistant", "content": "..."}. system: системный промпт (опционально). max_tokens: максимальное количество токенов в ответе (по умолчанию 65536 — максимум модели, допустимо 1..65536). ВАЖНО: токены «размышления» Gemini 3 входят в этот лимит — при малом значении ответ обрывается (finish_reason "length"). thinking_budget: бюджет токенов на размышление (необязательно): 0 — выключить (если модель позволяет), -1 — динамически, N — верхняя граница. thinking_level: уровень размышления (необязательно): "low" | "high" (у Flash ещё "minimal" / "medium"). Приоритетнее thinking_budget. account_email: форсировать конкретный Google-аккаунт. account_tag: форсировать аккаунты с указанным тэгом. Returns: {"text": str, "usage": {"input_tokens": int, "output_tokens": int}}. Raises: MCPError: если ключ невалиден, Google не подключён, или квота исчерпана.
| Parameter | Type | Description |
|---|---|---|
| system | any | Optional system prompt. |
| messages * | array | Conversation turns, list of {"role": "user"|"assistant", "content": "..."}. |
| max_tokens | integer | Max output tokens (1..65536; thinking tokens count toward this limit). |
| account_tag | any | Pin to accounts with this tag (round-robin within the subset). |
| account_email | any | Pin to a specific connected Google account email from your pool. |
| thinking_level |
Запрос к Claude Sonnet 4.6 через вашу подписку Anthropic (если подключена) или через подписку Google (Vertex). Поддерживает инструменты (tool_use). Args: messages: список {"role": "user|assistant", "content": "..."}. system: системный промпт (опционально). max_tokens: максимальное количество токенов в ответе. tools: описание инструментов в формате Anthropic tool_use (опционально). account_email: форсировать конкретный Google-аккаунт. account_tag: форсировать аккаунты с указанным тэгом. Returns: {"text": str, "usage": {...}}. Если модель решила звать инструмент, дополнительно вернётся "tool_calls": [...]. Raises: MCPError: если ключ невалиден, подписка не подключена, или квота исчерпана.
| Parameter | Type | Description |
|---|---|---|
| tools | any | Optional Anthropic tool_use tool definitions. |
| system | any | Optional system prompt. |
| messages * | array | Conversation turns, list of {"role": "user"|"assistant", "content": "..."}. |
| max_tokens | integer | Max output tokens in the response. |
| account_tag | any | Pin to accounts with this tag (round-robin within the subset). |
| account_email | any | Pin to a specific connected Google account email from your pool. |
Запрос к Gemini 4 Argon (medium) через вашу подписку Google AI Pro. Самая новая линейка Gemini. Требует аккаунт, которому Argon открыт: если Google отвечает 404 на модель, у подключённого аккаунта нет доступа — смотрите list_available_llm и переключайтесь через account_email. Args: messages: список {"role": "user|assistant", "content": "..."}. system: системный промпт (опционально). max_tokens: максимум токенов в ответе (1..65536); размышления входят в лимит. thinking_budget: 0 — выключить, -1 — динамически, N — верхняя граница. thinking_level: "low" | "medium" | "high" (приоритетнее thinking_budget). account_email: форсировать конкретный Google-аккаунт из пула. account_tag: форсировать аккаунты с указанным тэгом. Returns: {"text": str, "usage": {"input_tokens": int, "output_tokens": int}}. Raises: MCPError: ключ невалиден, Google не подключён, модели нет на аккаунте или квота исчерпана.
| Parameter | Type | Description |
|---|---|---|
| system | any | Optional system prompt. |
| messages * | array | Conversation turns, list of {"role": "user"|"assistant", "content": "..."}. |
| max_tokens | integer | Max output tokens (1..65536; thinking tokens count toward this limit). |
| account_tag | any | Pin to accounts with this tag (round-robin within the subset). |
| account_email | any | Pin to a specific connected Google account email from your pool. |
| thinking_level | any | Optional thinking level ("low", "medium", "high", or "xhigh" on Hydrogen). Overrides thinking_budget. |
Запрос к Gemini 4 Carbon (medium) через вашу подписку Google AI Pro. Средняя линейка Gemini 4: дешевле и быстрее Hydrogen при похожем качестве на коротких задачах. Как и остальные Gemini 4, требует аккаунт, которому Carbon открыт: 404 от Google значит, что у подключённого аккаунта доступа нет — смотрите list_available_llm и переключайтесь через account_email. Варианты `gemini-4-carbon-low` / `-high` доступны по точному id через OpenAI-совместимый `/v1/chat/completions`. Args: messages: список {"role": "user|assistant", "content": "..."}. system: системный промпт (опционально). max_tokens: максимум токенов в ответе (1..65536); размышления входят в лимит. thinking_budget: 0 — выключить, -1 — динамически, N — верхняя граница. thinking_level: "low" | "medium" | "high" (приоритетнее thinking_budget). account_email: форсировать конкретный Google-аккаунт из пула. account_tag: форсировать аккаунты с указанным тэгом. Returns: {"text": str, "usage": {"input_tokens": int, "output_tokens": int}}. Raises: MCPError: ключ невалиден, Google не подключён, модели нет на аккаунте или квота исчерпана.
| Parameter | Type | Description |
|---|---|---|
| system | any | Optional system prompt. |
| messages * | array | Conversation turns, list of {"role": "user"|"assistant", "content": "..."}. |
| max_tokens | integer | Max output tokens (1..65536; thinking tokens count toward this limit). |
| account_tag | any | Pin to accounts with this tag (round-robin within the subset). |
| account_email | any | Pin to a specific connected Google account email from your pool. |
Запрос к Gemini 4 Hydrogen (medium) через вашу подписку Google AI Pro. Старшая линейка Gemini 4: до 262144 токенов выхода у самой модели, есть уровень размышления `xhigh` (`gemini-4-hydrogen-xhigh`). Требует аккаунт, которому Hydrogen открыт: 404 от Google значит, что у подключённого аккаунта доступа нет — смотрите list_available_llm и переключайтесь через account_email. Варианты `-low` / `-high` / `-xhigh` доступны по точному id через OpenAI-совместимый `/v1/chat/completions`. Args: messages: список {"role": "user|assistant", "content": "..."}. system: системный промпт (опционально). max_tokens: максимум токенов в ответе (1..65536); размышления входят в лимит. thinking_budget: 0 — выключить, -1 — динамически, N — верхняя граница. thinking_level: "low" | "medium" | "high" | "xhigh" (приоритетнее thinking_budget). account_email: форсировать конкретный Google-аккаунт из пула. account_tag: форсировать аккаунты с указанным тэгом. Returns: {"text": str, "usage": {"input_tokens": int, "output_tokens": int}}. Raises: MCPError: ключ невалиден, Google не подключён, модели нет на аккаунте или квота исчерпана.
| Parameter | Type | Description |
|---|---|---|
| system | any | Optional system prompt. |
| messages * | array | Conversation turns, list of {"role": "user"|"assistant", "content": "..."}. |
| max_tokens | integer | Max output tokens (1..65536; thinking tokens count toward this limit). |
| account_tag | any | Pin to accounts with this tag (round-robin within the subset). |
| account_email | any | Pin to a specific connected Google account email from your pool. |
Запрос к Claude Opus 5.5 (medium) — сильная модель для сложных задач. Поддерживает tool_use. Если модель не отдаётся, у аккаунта нет доступа — проверьте list_available_llm. Args: messages: список {"role": "user|assistant", "content": "..."}. system: системный промпт (опционально). max_tokens: максимальное количество токенов в ответе. tools: описание инструментов в формате Anthropic tool_use (опционально). account_email: форсировать конкретный Google-аккаунт. account_tag: форсировать аккаунты с указанным тэгом. Returns: {"text": str, "usage": {...}}; при вызове инструмента — "tool_calls": [...].
| Parameter | Type | Description |
|---|---|---|
| tools | any | Optional Anthropic tool_use tool definitions. |
| system | any | Optional system prompt. |
| messages * | array | Conversation turns, list of {"role": "user"|"assistant", "content": "..."}. |
| max_tokens | integer | Max output tokens in the response. |
| account_tag | any | Pin to accounts with this tag (round-robin within the subset). |
| account_email | any | Pin to a specific connected Google account email from your pool. |
{
"name": "chat_claude_opus",
"description": "Запрос к Claude Opus 5.5 (medium) — сильная модель для сложных задач.\n\n Поддерживает tool_use. Если модель не отдаётся, у аккаунта нет доступа —\n проверьте list_available_llm.\n\n Args:\n messages: список {\"role\": \"user|assistant\", \"content\": \"...\"}.\n system: системный промпт (опционально).\n max_tokens: максимальное количество токенов в ответе.\n tools: описание инструментов в формате Anthropic tool_use (опционально).\n account_email: форсировать конкретный Google-аккаунт.\n account_tag: форсировать аккаунты с указанным тэгом.\n\n Returns:\n {\"text\": str, \"usage\": {...}}; при вызове инструмента — \"tool_calls\": [...].\n ",
"inputSchema": {
"type": "object",
"title": "chat_claude_opusArguments",
"required": [
"messages"
],
"properties": {
"tools": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Tools",
"default": null,
"description": "Optional Anthropic tool_use tool definitions."
},
"system": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "System",
"default": null,
"description": "Optional system prompt."
},
"messages": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"title": "Messages",
"description": "Conversation turns, list of {\"role\": \"user\"|\"assistant\", \"content\": \"...\"}."
},
"max_tokens": {
"type": "integer",
"title": "Max Tokens",
"default": 32000,
"description": "Max output tokens in the response."
},
"account_tag": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Account Tag",
"default": null,
"description": "Pin to accounts with this tag (round-robin within the subset)."
},
"account_email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Account Email",
"default": null,
"description": "Pin to a specific connected Google account email from your pool."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Запрос к Claude Sonnet 5.5 (high) — быстрее Opus 5.5, поддерживает tool_use. Args: messages: список {"role": "user|assistant", "content": "..."}. system: системный промпт (опционально). max_tokens: максимальное количество токенов в ответе. tools: описание инструментов в формате Anthropic tool_use (опционально). account_email: форсировать конкретный Google-аккаунт. account_tag: форсировать аккаунты с указанным тэгом. Returns: {"text": str, "usage": {...}}; при вызове инструмента — "tool_calls": [...].
| Parameter | Type | Description |
|---|---|---|
| tools | any | Optional Anthropic tool_use tool definitions. |
| system | any | Optional system prompt. |
| messages * | array | Conversation turns, list of {"role": "user"|"assistant", "content": "..."}. |
| max_tokens | integer | Max output tokens in the response. |
| account_tag | any | Pin to accounts with this tag (round-robin within the subset). |
| account_email | any | Pin to a specific connected Google account email from your pool. |
{
"name": "chat_claude_sonnet_55",
"description": "Запрос к Claude Sonnet 5.5 (high) — быстрее Opus 5.5, поддерживает tool_use.\n\n Args:\n messages: список {\"role\": \"user|assistant\", \"content\": \"...\"}.\n system: системный промпт (опционально).\n max_tokens: максимальное количество токенов в ответе.\n tools: описание инструментов в формате Anthropic tool_use (опционально).\n account_email: форсировать конкретный Google-аккаунт.\n account_tag: форсировать аккаунты с указанным тэгом.\n\n Returns:\n {\"text\": str, \"usage\": {...}}; при вызове инструмента — \"tool_calls\": [...].\n ",
"inputSchema": {
"type": "object",
"title": "chat_claude_sonnet_55Arguments",
"required": [
"messages"
],
"properties": {
"tools": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Tools",
"default": null,
"description": "Optional Anthropic tool_use tool definitions."
},
"system": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "System",
"default": null,
"description": "Optional system prompt."
},
"messages": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"title": "Messages",
"description": "Conversation turns, list of {\"role\": \"user\"|\"assistant\", \"content\": \"...\"}."
},
"max_tokens": {
"type": "integer",
"title": "Max Tokens",
"default": 32000,
"description": "Max output tokens in the response."
},
"account_tag": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Account Tag",
"default": null,
"description": "Pin to accounts with this tag (round-robin within the subset)."
},
"account_email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Account Email",
"default": null,
"description": "Pin to a specific connected Google account email from your pool."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Какие LLM-модели доступны этому ключу прямо сейчас, и какая у ключа квота. Делает два параллельных запроса: GET /llm/models (OmniRoute — список моделей и подключённых Google-аккаунтов) и GET /v1/me (openFlow — plan + квоты). ETag от /v1/me держится OmniRoute'ом в кэше ~5 минут; force_refresh=True добавляет Cache-Control: no-cache, чтобы заставить обновить. Returns: { "accounts": [{"email": "...", "credits": int, "models": [...]}, ...], "models": [{"id": "gemini-3-pro", "label": "..."}, ...], "quota": {"llm_rpm": int, "llm_tokens_per_day": int, "plan": "..."} } Raises: MCPError: ключ невалиден.
| Parameter | Type | Description |
|---|---|---|
| force_refresh | boolean | True bypasses OmniRoute 5-minute ETag cache via Cache-Control: no-cache. |
{
"name": "list_available_llm",
"description": "Какие LLM-модели доступны этому ключу прямо сейчас, и какая у ключа квота.\n\n Делает два параллельных запроса: GET /llm/models (OmniRoute — список моделей и\n подключённых Google-аккаунтов) и GET /v1/me (openFlow — plan + квоты). ETag от\n /v1/me держится OmniRoute'ом в кэше ~5 минут; force_refresh=True добавляет\n Cache-Control: no-cache, чтобы заставить обновить.\n\n Returns:\n {\n \"accounts\": [{\"email\": \"...\", \"credits\": int, \"models\": [...]}, ...],\n \"models\": [{\"id\": \"gemini-3-pro\", \"label\": \"...\"}, ...],\n \"quota\": {\"llm_rpm\": int, \"llm_tokens_per_day\": int, \"plan\": \"...\"}\n }\n\n Raises:\n MCPError: ключ невалиден.\n ",
"inputSchema": {
"type": "object",
"title": "list_available_llmArguments",
"properties": {
"force_refresh": {
"type": "boolean",
"title": "Force Refresh",
"default": false,
"description": "True bypasses OmniRoute 5-minute ETag cache via Cache-Control: no-cache."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Получить актуальный список LLM-моделей из каталога OmniRoute. OmniRoute сам опрашивает Google раз в час; `force_live=True` просит релей сходить в Google прямо сейчас (жёсткий rate-limit на стороне релея: не чаще 10 секунд). Полезно, когда клиент видит 404 на недавно добавленную модель. Args: force_live: True — передать `?live=1` на /v1/models и дождаться свежего каталога; False (по умолчанию) — вернуть кэш. Returns: { "models": [...], # OpenAI-совместимый список "aliases": {"gemini-flash": "gemini-3.5-flash-lite", ...}, "last_refreshed_at": float, # unix timestamp "source": "cache" | "live", } Raises: MCPError: ключ невалиден или OmniRoute недоступен.
| Parameter | Type | Description |
|---|---|---|
| force_live | boolean | True queries Google live (?live=1, rate-limited to 10s); False returns cached catalog. |
{
"name": "refresh_llm_models",
"description": "Получить актуальный список LLM-моделей из каталога OmniRoute.\n\n OmniRoute сам опрашивает Google раз в час; `force_live=True` просит релей\n сходить в Google прямо сейчас (жёсткий rate-limit на стороне релея:\n не чаще 10 секунд). Полезно, когда клиент видит 404 на недавно\n добавленную модель.\n\n Args:\n force_live: True — передать `?live=1` на /v1/models и дождаться\n свежего каталога; False (по умолчанию) — вернуть кэш.\n\n Returns:\n {\n \"models\": [...], # OpenAI-совместимый список\n \"aliases\": {\"gemini-flash\": \"gemini-3.5-flash-lite\", ...},\n \"last_refreshed_at\": float, # unix timestamp\n \"source\": \"cache\" | \"live\",\n }\n\n Raises:\n MCPError: ключ невалиден или OmniRoute недоступен.\n ",
"inputSchema": {
"type": "object",
"title": "refresh_llm_modelsArguments",
"properties": {
"force_live": {
"type": "boolean",
"title": "Force Live",
"default": false,
"description": "True queries Google live (?live=1, rate-limited to 10s); False returns cached catalog."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Tools for generating images and videos through Google Flow. Generation is asynchronous: generate_image/generate_video wait briefly for a fast result but may return a job_id instead when the job takes longer than that wait — video usually does, images rarely (a typical image finishes in about 20 seconds). When you get a job_id back instead of a finished result, call check_job with it, waiting a few seconds between checks, until status is 'done' or 'failed'. Generation runs on the user's OWN Google account. A new key works immediately with a few free trial images on a shared pool; after that the user has to connect their own Google account once (flow_status gives the link) — tell them this early, not only when the trial runs out. With their own account a key gets 200 images and 3 videos a week free; a subscription removes the limit. Call flow_status to see what a key still needs — before the first generation, and after any refusal. Its `next_step` carries the wording and the URL; relay both to the user in their own language, because those steps happen in their browser, not in yours. To connect the Google account, `next_step.command` is a personal one-line command (mac/linux/win) — run it in the user's terminal; the script submits the token itself, no copy-paste. If the user asks about billing, a subscription or the weekly limit, or something is broken: the operator's Telegram is https://t.me/mxmtkchk. That is the service's only support channel, and for a self-registered key it is the only contact that exists at all — nobody will reach out to the user first.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
Too large to show here.
| Parameter | Type | Description |
|---|---|---|
| seed | any | Optional integer RNG seed for reproducible output. |
| model | string | Image model key (e.g. BELUGA, NARWHAL, HARBOR_SEAL). |
| aspect | string | Image aspect ratio (IMAGE_ASPECT_RATIO_LANDSCAPE or IMAGE_ASPECT_RATIO_PORTRAIT). |
| prompt * | string | Text prompt describing what to generate. |
| project_id | any | Optional Flow project UUID; omit to use the account default. |
| image_inputs | any | Optional list of Flow mediaIds from prior images to edit or reference. |
| control_images | any | Optional list of base64-encoded PNG/JPEG layout/reference images (no data: prefix). |
| idempotency_key | any | Optional deduplication key; repeats with the same key return the existing job. |
| include_preview | boolean | Include an inline image/frame preview in the tool response. |
{
"name": "generate_image",
"description": "Generate an image from a text prompt via Google Flow.\n\n model — pass ONE of these exact ids (from GET v1/flow/models, verified 2026-07-25):\n BELUGA = \"Nano Banana 2\" — the DEFAULT, ~30s (legacy id NARWHAL is accepted as an alias)\n GEM_PIX_2 = \"Nano Banana Pro\" — highest quality, ~40s, has a separate DAILY\n per-account quota (429 rotates accounts)\n HARBOR_SEAL = \"Nano Banana 2 Lite\" — ~40s\n Anything else is rejected with HTTP 400 — there is no silent fallback, so a wrong id\n wastes a round trip, not credits. Do NOT guess names like \"nano_banana_pro\": that is\n the model FAMILY key from the config, not the id the generate call takes.\n\n image_inputs: mediaIds from prior generations, edit-in-place (keeps them pixel-exact).\n control_images: up to 10 base64 image bytes (no data: prefix) of a locally rendered layout/control\n image — uploaded first, then prepended to image_inputs so the generator follows an exact\n spatial layout instead of prose. For whole-scene layout control prefer generate_scene.\n\n seed: 1..900000, fixes the generation so the same request returns the same image. Omit\n for a random seed. Needed to compare two prompts, two models or two control images\n honestly — without it every run is a fresh roll and the difference you are measuring\n drowns in noise. Measured 2026-08-09: with an UNCHANGED control image a fixed seed\n reproduces the frame to ~0.1%; once the control image changes, the seed no longer keeps\n the character — for that use image_inputs with a reference frame's mediaId.\n\n project_id: put the result into a project made with create_project instead of the\n account's default one — one project per end client keeps their work separate. Omit it\n and nothing changes from before.\n\n include_preview: ON by default since 2026-08-21 — a generated image nobody can see\n in the chat is half a result. Pass False to get the plain dict back and nothing else\n (worth doing in a loop of many generations, where the previews would fill the\n context). When on and the job finished with at least one url, the call returns the\n usual result dict, a short card naming the parameters actually used, and a small\n compressed JPEG (long side capped at 768px, ~100-160KB once base64-encoded) as an\n inline image content block, so a human can actually see the result without leaving\n the chat. This is deliberately a shrunk preview, never the original — the real Flow\n image is ~0.5MB (~740KB in base64), enough to burn a whole tool call's worth of a\n client's context budget on its own. The preview is for EYES ONLY: urls/media_ids\n stay the authoritative result in both modes, and every downstream call (upscale_image,\n image_inputs edit-in-place, ...) must keep using media_ids, never the preview bytes.\n If the preview download/shrink fails for any reason, this silently falls back to the\n plain (no-preview) result instead of failing the whole call.\n\n SAVE THE RESULT INTO THE USER'S PROJECT. A finished job also carries `download_urls`\n (plain URLs, no auth header needed) and `save_as` (the filenames to use). Unless the\n user said otherwise, write them to ./media/<save_as> in their working directory and\n tell them the path. The server keeps its own copy, but only the file in their project\n is theirs: our copy can be reclaimed when the disk fills, and the URLs expire within\n the hour. Downloading costs no credits and no quota.\n\n Returns {\"urls\": [...], \"media_ids\": [...]} when done, or a job_id to poll\n with check_job if it's not ready within ~60s (rare for images unless the\n device is cold). With the default include_preview=True and a finished result,\n returns [that dict, <card>, <inline image>] instead — see include_preview above.\n idempotency_key: optional, any string unique to this logical request (e.g. a uuid).\n Repeating a call with the same key ",
"inputSchema": {
"type": "object",
"title": "generate_imageArguments",
"required": [
"prompt"
],
"properties": {
"seed": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Seed",
"default": null,
"description": "Optional integer RNG seed for reproducible output."
},
"model": {
"enum": [
"BELUGA",
"GEM_PIX_2",
"HARBOR_SEAL"
],
"type": "string",
"title": "Model",
"default": "BELUGA",
"description": "Image model key (e.g. BELUGA, NARWHAL, HARBOR_SEAL)."
},
"aspect": {
"enum": [
"IMAGE_ASPECT_RATIO_LANDSCAPE",
"IMAGE_ASPECT_RATIO_PORTRAIT",
"IMAGE_ASPECT_RATIO_SQUARE",
"IMAGE_ASPECT_RATIO_LANDSCAPE_FOUR_THREE",
"IMAGE_ASPECT_RATIO_PORTRAIT_THREE_FOUR"
],
"type": "string",
"title": "Aspect",
"default": "IMAGE_ASPECT_RATIO_LANDSCAPE",
"description": "Image aspect ratio (IMAGE_ASPECT_RATIO_LANDSCAPE or IMAGE_ASPECT_RATIO_PORTRAIT)."
},
"prompt": {
"type": "string",
"title": "Prompt",
"description": "Text prompt describing what to generate."
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Project Id",
"default": null,
"description": "Optional Flow project UUID; omit to use the account default."
},
"image_inputs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Image Inputs",
"default": null,
"description": "Optional list of Flow mediaIds from prior images to edit or reference."
},
"control_images": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Control Images",
"default": null,
"description": "Optional list of base64-encoded PNG/JPEG layout/reference images (no data: prefix)."
},
"idempotency_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Idempotency Key",
"default": null,
"description": "Optional deduplication key; repeats with the same key return the existing job."
},
"include_preview": {
"type": "boolean",
"title": "Include Preview",
"default": true,
"description": "Include an inline image/frame preview in the tool response."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "music_generate",
"description": "Generate a full song from a text brief via Google Flow Music (Lyria).\n\n prompt — free text: genre, mood, BPM, instruments, and whether you want vocals or an\n instrumental (e.g. \"dreamy synthwave, retro 80s, 110 bpm, instrumental\"). The Producer\n agent turns it into a finished track (usually ~2-3 minutes, and it returns TWO variants).\n\n model — \"lyria\" (Lyria 3.5, the default flagship) or \"lyria-pro\" (Lyria 3 Pro, legacy).\n lyrics — optional explicit words to sing; omit for the model to write its own / stay\n instrumental.\n\n SAVE THE RESULT. Each returned clip carries a public `audio_url` (a Google Cloud Storage\n .m4a, no auth header needed) plus `download_path` on our server. Unless the user said\n otherwise, download the audio into their project. Fields per clip: clip_id, title,\n duration (seconds), lyrics, audio_url, wav_url, image_id (cover, feeds music_video),\n image_url. Returns {\"clips\": [...], \"media\": [...], \"conversation_id\": \"...\"} when done,\n or a job_id to poll with check_job if it isn't ready within ~90s.\n\n conversation_id — pass the one from an earlier result to keep working on the same track\n (\"same song but 30 seconds shorter\"); the Producer remembers what it just made. Omit it\n for a fresh start. Every result carries one, so a follow-up is always possible.\n ",
"inputSchema": {
"type": "object",
"title": "music_generateArguments",
"required": [
"prompt"
],
"properties": {
"model": {
"enum": [
"lyria",
"lyria-pro"
],
"type": "string",
"title": "Model",
"default": "lyria",
"description": "Music model (\"lyria\" or \"suno\")."
},
"lyrics": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lyrics",
"default": null,
"description": "Optional song lyrics to sing."
},
"prompt": {
"type": "string",
"title": "Prompt",
"description": "Music description (genre, mood, instruments, tempo)."
},
"conversation_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Conversation Id",
"default": null,
"description": "Optional conversation ID to continue/refine a previous music session."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| Parameter | Type | Description |
|---|---|---|
| seed | any | Optional integer RNG seed for reproducible output. |
| depth | boolean | Include depth cues in the control layout. |
| extra | string | Additional prompt instructions appended to the scene description. |
| style | string | Visual rendering style description. |
| aspect | string | Aspect ratio ("LANDSCAPE" or "PORTRAIT"). |
| camera_id * | string | Camera ID defined inside scene_layout to render from. |
| background | string | Control image background ("dark" or "light"). |
| project_id | any | Optional Flow project UUID; omit to use the account default. |
| calibration | boolean | Return calibration/debug metadata without or alongside rendering. |
| control_png | boolean | Include the rendered wireframe control PNG in the result. |
| image_inputs | any | Optional Flow mediaIds for reference/editing. |
| scene_layout * | object | 3D scene layout dict (objects, positions, cameras, lights). |
{
"name": "generate_scene",
"description": "Build a location precisely from a scene-layout/v2 map and generate its plate.\n\n This is the \"exact location building\" path: instead of describing the room in prose\n (which the model reinterprets — furniture drifts, depths change between shots), it\n renders a control image from the map's boxes (each object a colored block at its true\n position/size/depth, plus a 1-meter floor grid in true perspective), then asks the\n generator to REPLACE each block with its real object in the same camera — so the plate\n follows the geometry pixel-wise. Same room from another camera_id is the same space.\n\n scene_layout: a scene-layout/v2 dict — {format, units, room{w,d,h}, objects{...boxes},\n cameras{<id>:{pos,look_at,fov_deg,framing?}}, ...}. The camera must carry fov_deg.\n camera_id: which camera in scene_layout.cameras to render from.\n aspect: PORTRAIT (9:16), LANDSCAPE (16:9), SQUARE, PORTRAIT_THREE_FOUR (3:4) or\n LANDSCAPE_FOUR_THREE (4:3). 9:16 and 16:9 from one camera share the vertical FOV, so\n depths are identical across aspects.\n style / extra: prepended / appended prose (art style, mood) — geometry comes from the map.\n\n A box may carry `rot: [rx, ry, rz]` (degrees around the world X/Y/Z axes) and `pivot:\n [x, y, z]`, applied as p' = Rx·Ry·Rz·(p − pivot) + pivot, pivot defaulting to the box\n centre. That is how a POSE is expressed — a raised arm is a box rotated about the\n shoulder. Measured live 2026-08-09: moving a hand by 2–20 cm is ignored by the\n generator, rotating the arm by 15–60° comes through. Build motion out of angles.\n\n seed / image_inputs: same meaning as in generate_image. For a SEQUENCE of frames of one\n character, generate a reference frame first, then pass its mediaId as image_inputs on\n every following frame — that is what keeps the face, clothes and colours identical.\n A fixed seed alone does not: it only repeats an unchanged control image.\n\n depth: render the guide as a plain greyscale depth map instead of the colour hybrid\n (for an external depth-ControlNet). calibration: add frame markers, a back-wall grid\n and a 2 m ruler with 10 cm ticks — measured to cut the framing drift roughly fourfold.\n background: \"dark\" (default, unchanged) or \"light\". Use \"light\" when the plate must be\n on a white background: the generator sometimes copies the guide's own palette into the\n result, and a light guide makes that leak land as white rather than as a dark grid.\n\n control_png: return the layout guide itself, base64-encoded. OFF by default because it is\n hundreds of thousands of characters of TEXT — one guide can cost more context than the\n whole conversation around it. `control_png_kb` always reports its size.\n\n Returns {\"urls\", \"media_ids\", \"legend\", \"control_png_kb\"} — legend maps block colors to\n objects. Add control_png=True to also get the guide itself for inspection/acceptance.\n ",
"inputSchema": {
"type": "object",
"title": "generate_sceneArguments",
"required": [
"scene_layout",
"camera_id"
],
"properties": {
"seed": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Seed",
"default": null,
"description": "Optional integer RNG seed for reproducible output."
},
"depth": {
"type": "boolean",
"title": "Depth",
"default": false,
"description": "Include depth cues in the control layout."
},
"extra": {
"type": "string",
"title": "Extra",
"default": "",
"description": "Additional prompt instructions appended to the scene description."
},
"style": {
"type": "string",
"title": "Style",
"default": "In the style of Pixar-like 3D cartoon animation, clean rounded shapes, soft even lighting from the left, muted natural palette.",
"description": "Visual rendering style description."
},
"aspect": {
"type": "string",
"title": "Aspect",
"default": "LANDSCAPE",
"description": "Aspect ratio (\"LANDSCAPE\" or \"PORTRAIT\")."
},
"camera_id": {
"type": "string",
"title": "Camera Id",
"description": "Camera ID defined inside scene_layout to render from."
},
"background": {
"type": "string",
"title": "Background",
"default": "dark",
"description": "Control image background (\"dark\" or \"light\")."
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Project Id",
"default": null,
"description": "Optional Flow project UUID; omit to use the account default."
},
"calibration": {
"type": "boolean",
"title": "Calibration",
"default": false,
"description": "Return calibration/debug metadata without or alongside rendering."
},
"control_png": {
"type": "boolean",
"title": "Control Png",
"default": false,
"description": "Include the rendered wireframe control PNG in the result."
},
"image_inputs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Image Inputs",
"default": null,
"description": "Optional Flow mediaIds for reference/editing."
},
"scene_layout": {
"type": "object",
"title": "Scene Layout",
"description": "3D scene layout dict (objects, positions, cameras, lights).",
"additionalProperties": true
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| aspect | string | Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT). |
| prompt * | string | Text prompt describing what to generate. |
| project_id | any | Optional Flow project UUID; omit to use the account default. |
| voice_text | any | Optional spoken text for voiceover/narration; defaults to prompt if omitted. |
| voice_style | any | Optional voice delivery hint (e.g. "warm", "whisper"). |
| idempotency_key | any | Optional deduplication key; repeats with the same key return the existing job. |
| include_preview | boolean | Include an inline image/frame preview in the tool response. |
| video_model_key | string | Text-to-video model key (e.g. abra_t2v_lite, veo_3_1_t2v). |
{
"name": "generate_video",
"description": "Generate a video from a text prompt via Google Flow (Veo models).\n\n video_model_key options: abra_t2v_4s (default, 7 credits), veo_3_1_t2v_lite\n (10cr, visibly cleaner), veo_3_1_t2v (100cr, \"Quality\" tier), veo_3_1_t2v_fast (20cr).\n\n project_id: put the clip into a project made with create_project instead of the\n account's default one — one project per end client keeps their work separate.\n Such a project is PINNED to the account that created it: passing project_id also\n decides which account generates (and the call refuses instead of using another).\n\n Video generation routinely takes 1-3+ minutes, so this almost always returns\n a job_id rather than a finished result — call check_job with it, waiting a\n few seconds between checks, until status is 'done' or 'failed'.\n beats: how many DISTINCT action phases the prompt describes — \"ears flick back\",\n \"tail lashes\", \"strikes the ball\", \"ball flies off\" are four. Give it and the server\n picks the clip length for you (about two phases per second) and says in the reply what\n it picked and why. Measured 31.08.2026: the model STRETCHES whatever you describe over\n whatever length you ask for, so one phase in four seconds comes out as slow motion, and\n the same text at six seconds instead of four loses 15% of its movement. Adjectives are\n not phases: \"springy cartoon motion\" adds nothing. Leave beats out and the length you\n passed is used unchanged.\n\n seed (all video tools): the result always reports the seed it used. Same seed + same\n prompt + same inputs = the same clip, so a good take can be re-made. A fixed seed does\n NOT keep the composition when the prompt changes — use edit_video for that.\n idempotency_key: optional, any string unique to this logical request (e.g. a uuid).\n Repeating a call with the same key within 24h returns the SAME job instead of a\n new one — use it when you may retry after a timeout or a busy error.\n ",
"inputSchema": {
"type": "object",
"title": "generate_videoArguments",
"required": [
"prompt"
],
"properties": {
"seed": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Seed",
"default": null,
"description": "Optional integer RNG seed for reproducible output."
},
"beats": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Beats",
"default": null,
"description": "Optional number of beats/segments for multi-beat video generation."
},
"voice": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Voice",
"default": null,
"description": "Optional Gemini TTS voice name from list_voices() (e.g. Algieba, Aoede)."
},
"aspect": {
"enum": [
"VIDEO_ASPECT_RATIO_LANDSCAPE",
"VIDEO_ASPECT_RATIO_PORTRAIT"
],
"type": "string",
"title": "Aspect",
"default": "VIDEO_ASPECT_RATIO_LANDSCAPE",
"description": "Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT)."
},
"prompt": {
"type": "string",
"title": "Prompt",
"description": "Text prompt describing what to generate."
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Project Id",
"default": null,
"description": "Optional Flow project UUID; omit to use the account default."
},
"voice_text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Voice Text",
"default": null,
"description": "Optional spoken text for voiceover/narration; defaults to prompt if omitted."
},
"voice_style": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Voice Style",
"default": null,
"description": "Optional voice delivery hint (e.g. \"warm\", \"whisper\")."
},
"idempotency_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Idempotency Key",
"default": null,
"description": "Optional deduplication key; repeats with the same key return the existing job."
},
"include_preview": {
"type": "boolean",
"title": "Include Preview",
"default": true,
"description": "Include an inline image/frame preview in the tool response."
},
"video_model_key": {
"enum": [
"abra_t2v_4s",
"abra_t2v_6s",
"abra_t2v_8s",
"abra_t2v_10s",
"abra_t2v_4s_360p",
"abra_t2v_6s_360p",
"abra_t2v_8s_360p",
"abra_t2v_10s_360p",
"macaron_cookie_t2v_3s",
"macaron_cookie_t2v_4s",
"macaron_cookie_t2v_5s",
"macaron_cookie_t2v_6s",
"macaron_cookie_t2v_7s",
"macaron_cookie_t2v_8s",
"macaron_cookie_t2v_9s",
"macaron_cookie_t2v_10s",
"macaron_cookie_t2v_11s",
"macaron_cookie_t2v_12s",
"macaron_cookie_t2v_13s",
"macaron_cookie_t2v_14s",
"macaron_cookie_t2v_15s",
"macaron_cookie_t2v_3s_360p",
"macaron_cookie_t2v_4s_360p",
"macaron_cookie_t2v_5s_360p",
"macaron_cookie_t2v_6s_360p",
"macaron_cookie_t2v_7s_360p",
"macaron_cookie_t2v_8s_360p",
"macaron_cookie_t2v_9s_360p",
"macaron_cookie_t2v_10s_360p",
"macaron_cookie_t2v_11s_360p",
"macaron_cookie_t2v_12s_360p",
"macaron_cookie_t2v_13s_360p",
"macaron_cookie_t2v_14s_360p",
"macaron_cookie_t2v_15s_360p",
"veo_3_1_t2v_lite",
"veo_3_1_t2v_fast",
"veo_3_1_t2v"
],
"type": "string",
"title": "Video Model Key",
"default": "abra_t2v_4s",
"description": "Text-to-video model key (e.g. abra_t2v_lite, veo_3_1_t2v)."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| prompt * | string | Instructions describing how to modify the source video. |
| end_sec | any | Optional edit end timestamp in seconds. |
| media_id | any | Media UUID of a previously generated Flow video (use this or video_base64). |
| start_sec | any | Optional edit start timestamp in seconds. |
| video_base64 | any | Base64-encoded MP4 bytes of a source video (use this or media_id). |
| include_preview | boolean | Include an inline image/frame preview in the tool response. |
| video_model_key | string | Video edit model key (e.g. abra_edit_lite). |
| reference_images_base64 | any | Optional list of base64-encoded reference images (no data: prefix). |
{
"name": "edit_video",
"description": "Rewrite a video from a plain description: \"make the sky stormy\", \"take the\n passer-by out of the shot\", \"warmer light\", \"put the product from the image on the\n table\".\n\n Source — ONE of:\n media_id: id from a previous generate_video* result (OUR OWN generation). Job is\n pinned to the account that produced it.\n video_base64: base64-encoded YOUR OWN clip (mp4/mov/avi/3gp, up to 60s/1GB).\n Worker uploads it via Flow's Scotty resumable upload (reversed via\n Flow Web Ingredients, 2026-10-14) onto a healthy account, then runs\n the edit on that account. The upload itself costs no credits.\n\n start_sec / end_sec: edit only this piece of the source (both or neither, at most\n 10 s). The result is ONLY that piece — not the full clip with the piece replaced.\n reference_images_base64: up to 5 raw base64 images (no data: prefix); the object in\n the image is put into the clip — say in the prompt what to do with it.\n\n 20 credits per edit (abra_edit_360p: 10). Not a mask tool — describe the change and\n where it goes (\"on the left\", \"in the sky\"); mask/style image types are not honored.\n\n Prompt template that lands best — fill each part, one or two sentences each:\n Goal: what changes (\"Replace the man on the left with the character from image 1\").\n Source: \"The source video drives camera, motion, timing and lip movement.\"\n Reference: what to take from each image (\"use only the character's look; ignore\n the image background\").\n Scene: describe the room/background in words (helps the model keep it intact).\n Keep: \"Everything else stays exactly as in the source.\"\n Timing: \"The new character inherits the exact movement and position of the one\n it replaces, from the first frame to the last.\"\n Draft on abra_edit_360p (10 credits) to check the edit lands, then run abra_edit; the\n seed does not carry an edit take across resolutions, so the final can differ in details.\n Only edit footage the user owns or is licensed to use; do not put real people's\n likeness into clips without their consent.\n ",
"inputSchema": {
"type": "object",
"title": "edit_videoArguments",
"required": [
"prompt"
],
"properties": {
"seed": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Seed",
"default": null,
"description": "Optional integer RNG seed for reproducible output."
},
"aspect": {
"enum": [
"VIDEO_ASPECT_RATIO_LANDSCAPE",
"VIDEO_ASPECT_RATIO_PORTRAIT"
],
"type": "string",
"title": "Aspect",
"default": "VIDEO_ASPECT_RATIO_LANDSCAPE",
"description": "Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT)."
},
"prompt": {
"type": "string",
"title": "Prompt",
"description": "Instructions describing how to modify the source video."
},
"end_sec": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "End Sec",
"default": null,
"description": "Optional edit end timestamp in seconds."
},
"media_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Media Id",
"default": null,
"description": "Media UUID of a previously generated Flow video (use this or video_base64)."
},
"start_sec": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Start Sec",
"default": null,
"description": "Optional edit start timestamp in seconds."
},
"video_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Video Base64",
"default": null,
"description": "Base64-encoded MP4 bytes of a source video (use this or media_id)."
},
"include_preview": {
"type": "boolean",
"title": "Include Preview",
"default": true,
"description": "Include an inline image/frame preview in the tool response."
},
"video_model_key": {
"enum": [
"abra_edit",
"abra_edit_360p",
"macaron_cookie_edit",
"macaron_cookie_edit_360p"
],
"type": "string",
"title": "Video Model Key",
"default": "abra_edit",
"description": "Video edit model key (e.g. abra_edit_lite)."
},
"reference_images_base64": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Reference Images Base64",
"default": null,
"description": "Optional list of base64-encoded reference images (no data: prefix)."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT). |
| end_sec | any | Optional segment end timestamp in seconds. |
| media_id | any | Media UUID of a prior Flow video (use this or video_base64). |
| character * | string | Registered character name from list_characters() to place into the video. |
| start_sec | any | Optional segment start timestamp in seconds. |
| video_base64 | any | Base64-encoded MP4 bytes of a source video (use this or media_id). |
| include_preview | boolean | Include an inline image/frame preview in the tool response. |
{
"name": "recast_video",
"description": "Re-make a video with YOUR character in place of the person in it: same camera,\n movement, gestures, timing and mouth movement, the character's look.\n\n character: name from list_characters (its portrait is used as the look).\n Source — ONE of media_id (a video this service made) or video_base64 (your own clip).\n who: which person to replace when there are several (\"the man on the left\").\n scene: one sentence about the room/background — helps keep it intact.\n extra: anything else for the model (\"keep the on-screen text\").\n start_sec/end_sec: recast only that piece (at most 10 s); the result is that piece.\n\n Two steps:\n 1. final=False (default) -> draft on abra_edit_360p, 10 credits: cheap check that\n the recast works on this clip (who gets replaced, does the scene hold).\n 2. final=True -> 720p on abra_edit, 20 credits. NOTE: for edits the seed does NOT\n carry a take across resolutions (checked live 2026-10-15: the draft kept the\n person's hoodie, the 720p run replaced the whole body), so expect the final to\n differ in details from the draft. To repeat a FINAL take, reuse its seed with\n final=True.\n Only for footage the user owns or is licensed to use; never put a real person's\n likeness into a clip without their consent.\n ",
"inputSchema": {
"type": "object",
"title": "recast_videoArguments",
"required": [
"character"
],
"properties": {
"who": {
"type": "string",
"title": "Who",
"default": "the person in the video",
"description": "Description of the person in the source video to replace."
},
"seed": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Seed",
"default": null,
"description": "Optional integer RNG seed for reproducible output."
},
"extra": {
"type": "string",
"title": "Extra",
"default": "",
"description": "Additional prompt details appended to the recast instruction."
},
"final": {
"type": "boolean",
"title": "Final",
"default": false,
"description": "True for higher-quality final pass; False for fast preview."
},
"scene": {
"type": "string",
"title": "Scene",
"default": "",
"description": "Optional scene/action override description."
},
"aspect": {
"enum": [
"VIDEO_ASPECT_RATIO_LANDSCAPE",
"VIDEO_ASPECT_RATIO_PORTRAIT"
],
"type": "string",
"title": "Aspect",
"default": "VIDEO_ASPECT_RATIO_LANDSCAPE",
"description": "Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT)."
},
"end_sec": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "End Sec",
"default": null,
"description": "Optional segment end timestamp in seconds."
},
"media_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Media Id",
"default": null,
"description": "Media UUID of a prior Flow video (use this or video_base64)."
},
"character": {
"type": "string",
"title": "Character",
"description": "Registered character name from list_characters() to place into the video."
},
"start_sec": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Start Sec",
"default": null,
"description": "Optional segment start timestamp in seconds."
},
"video_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Video Base64",
"default": null,
"description": "Base64-encoded MP4 bytes of a source video (use this or media_id)."
},
"include_preview": {
"type": "boolean",
"title": "Include Preview",
"default": true,
"description": "Include an inline image/frame preview in the tool response."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| Video extension model key (e.g. abra_ext_lite). |
{
"name": "extend_video",
"description": "Continue a video this service already generated — Flow writes what happens next.\n\n media_id: the id from a previous generate_video* result (the bare id, not the\n /v1/media/... path). Only videos made through this service can be extended: the id\n belongs to a specific Google account's project, so the job is pinned to that account\n instead of rotating. An id we never produced comes back as a clear error, not a\n mystery failure.\n\n Use this for shots that need to run longer than one generation, or to keep a scene\n going without re-describing it: the continuation inherits the source clip's world,\n which a fresh text-to-video call cannot do.\n\n Default model veo_3_1_extension_lite: 10 credits, adds 8 seconds.\n\n project_id: which project the continuation lands in. The job is pinned to the source\n clip's account regardless, so pass the project the source was generated in (or omit it).\n ",
"inputSchema": {
"type": "object",
"title": "extend_videoArguments",
"required": [
"prompt",
"media_id"
],
"properties": {
"seed": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Seed",
"default": null,
"description": "Optional integer RNG seed for reproducible output."
},
"aspect": {
"enum": [
"VIDEO_ASPECT_RATIO_LANDSCAPE",
"VIDEO_ASPECT_RATIO_PORTRAIT"
],
"type": "string",
"title": "Aspect",
"default": "VIDEO_ASPECT_RATIO_LANDSCAPE",
"description": "Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT)."
},
"prompt": {
"type": "string",
"title": "Prompt",
"description": "Prompt describing what happens next in the continuation."
},
"media_id": {
"type": "string",
"title": "Media Id",
"description": "Media UUID of the existing Flow video to extend."
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Project Id",
"default": null,
"description": "Optional Flow project UUID; omit to use the account default."
},
"include_preview": {
"type": "boolean",
"title": "Include Preview",
"default": true,
"description": "Include an inline image/frame preview in the tool response."
},
"video_model_key": {
"enum": [
"veo_3_1_extension_lite",
"veo_3_1_extend_fast_landscape",
"veo_3_1_extend_landscape",
"macaron_cookie_extend_3s",
"macaron_cookie_extend_4s",
"macaron_cookie_extend_5s",
"macaron_cookie_extend_6s",
"macaron_cookie_extend_7s",
"macaron_cookie_extend_8s",
"macaron_cookie_extend_9s",
"macaron_cookie_extend_10s",
"macaron_cookie_extend_3s_360p",
"macaron_cookie_extend_4s_360p",
"macaron_cookie_extend_5s_360p",
"macaron_cookie_extend_6s_360p",
"macaron_cookie_extend_7s_360p",
"macaron_cookie_extend_8s_360p",
"macaron_cookie_extend_9s_360p",
"macaron_cookie_extend_10s_360p"
],
"type": "string",
"title": "Video Model Key",
"default": "veo_3_1_extension_lite",
"description": "Video extension model key (e.g. abra_ext_lite)."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| aspect | string | Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT). |
| prompt * | string | Text prompt describing what to generate. |
| project_id | any | Optional Flow project UUID; omit to use the account default. |
| include_preview | boolean | Include an inline image/frame preview in the tool response. |
| video_model_key | string | First/last frame video model key (e.g. abra_fl_lite). |
| end_image_base64 * | string | Base64-encoded ending frame image (no data: prefix). |
| start_image_base64 * | string | Base64-encoded starting frame image (no data: prefix). |
{
"name": "generate_video_between_frames",
"description": "Generate the transition between TWO given frames: the video starts at the first\n image and ends at the second one, Flow invents everything in between.\n\n This is Flow's \"Кадры\" with both slots filled — a different mechanism from\n generate_video_from_image, which only pins the FIRST frame and lets the ending drift.\n Use this when the ending matters: a logo that must resolve exactly, a character that\n must land in a specific pose, two stills from a storyboard that need connecting.\n\n Both images are raw base64 bytes, no data: URI prefix. The default model\n (veo_3_1_interpolation_lite, 10 credits, 8 seconds) is the cheap one — transitions\n are something you retry a few times, and defaulting to the 100-credit key would make\n every experiment expensive.\n\n beats: how many DISTINCT action phases the prompt describes — \"ears flick back\",\n \"tail lashes\", \"strikes the ball\", \"ball flies off\" are four. Give it and the server\n picks the clip length for you (about two phases per second) and says in the reply what\n it picked and why. Measured 31.08.2026: the model STRETCHES whatever you describe over\n whatever length you ask for, so one phase in four seconds comes out as slow motion, and\n the same text at six seconds instead of four loses 15% of its movement. Adjectives are\n not phases: \"springy cartoon motion\" adds nothing. Leave beats out and the length you\n passed is used unchanged.\n\n project_id: put the clip into a project made with create_project instead of the\n account's default one.\n Such a project is PINNED to the account that created it: passing project_id also\n decides which account generates (and the call refuses instead of using another).\n beats: how many DISTINCT action phases the prompt describes. The server then picks\n the clip length itself (about two phases per second) and says so in the reply. For a\n first+last-frame transition keep it low: the two frames already fix the endpoints, and\n asking for more seconds than the action needs only stretches it — measured 31.08.2026,\n the same text at six seconds instead of four lost 15% of its movement.\n ",
"inputSchema": {
"type": "object",
"title": "generate_video_between_framesArguments",
"required": [
"prompt",
"start_image_base64",
"end_image_base64"
],
"properties": {
"seed": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Seed",
"default": null,
"description": "Optional integer RNG seed for reproducible output."
},
"beats": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Beats",
"default": null,
"description": "Optional number of beats/segments for multi-beat video generation."
},
"aspect": {
"enum": [
"VIDEO_ASPECT_RATIO_LANDSCAPE",
"VIDEO_ASPECT_RATIO_PORTRAIT"
],
"type": "string",
"title": "Aspect",
"default": "VIDEO_ASPECT_RATIO_LANDSCAPE",
"description": "Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT)."
},
"prompt": {
"type": "string",
"title": "Prompt",
"description": "Text prompt describing what to generate."
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Project Id",
"default": null,
"description": "Optional Flow project UUID; omit to use the account default."
},
"include_preview": {
"type": "boolean",
"title": "Include Preview",
"default": true,
"description": "Include an inline image/frame preview in the tool response."
},
"video_model_key": {
"enum": [
"omni_flash_i2v_4s_first_last",
"omni_flash_i2v_6s_first_last",
"omni_flash_i2v_8s_first_last",
"omni_flash_i2v_10s_first_last",
"omni_flash_i2v_4s_first_last_360p",
"omni_flash_i2v_6s_first_last_360p",
"omni_flash_i2v_8s_first_last_360p",
"omni_flash_i2v_10s_first_last_360p",
"macaron_cookie_i2v_fl_3s",
"macaron_cookie_i2v_fl_4s",
"macaron_cookie_i2v_fl_5s",
"macaron_cookie_i2v_fl_6s",
"macaron_cookie_i2v_fl_7s",
"macaron_cookie_i2v_fl_8s",
"macaron_cookie_i2v_fl_9s",
"macaron_cookie_i2v_fl_10s",
"macaron_cookie_i2v_fl_3s_360p",
"macaron_cookie_i2v_fl_4s_360p",
"macaron_cookie_i2v_fl_5s_360p",
"macaron_cookie_i2v_fl_6s_360p",
"macaron_cookie_i2v_fl_7s_360p",
"macaron_cookie_i2v_fl_8s_360p",
"macaron_cookie_i2v_fl_9s_360p",
"macaron_cookie_i2v_fl_10s_360p",
"veo_3_1_interpolation_lite",
"veo_3_1_i2v_s_fast_fl",
"veo_3_1_i2v_s_fl"
],
"type": "string",
"title": "Video Model Key",
"default": "veo_3_1_interpolation_lite",
"description": "First/last frame video model key (e.g. abra_fl_lite)."
},
"end_image_base64": {
"type": "string",
"title": "End Image Base64",
"description": "Base64-encoded ending frame image (no data: prefix)."
},
"start_image_base64": {
"type": "string",
"title": "Start Image Base64",
"description": "Base64-encoded starting frame image (no data: prefix)."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| string |
| When start_media_id is a video, extract "first" or "last" frame. |
| voice | any | Optional Gemini TTS voice name from list_voices() (e.g. Algieba, Aoede). |
| aspect | string | Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT). |
| prompt * | string | Text prompt describing what to generate. |
| project_id | any | Optional Flow project UUID; omit to use the account default. |
| voice_text | any | Optional spoken text for voiceover/narration; defaults to prompt if omitted. |
| voice_style | any | Optional voice delivery hint (e.g. "warm", "whisper"). |
| start_media_id | any | Media UUID of a prior Flow image or video to use as starting frame (use this or start_image_base64). |
| include_preview | boolean | Include an inline image/frame preview in the tool response. |
| video_model_key | string | Image-to-video model key (e.g. abra_i2v_lite, veo_3_1_i2v_s_fast_fl). |
| start_image_base64 | any | Base64-encoded starting frame image (use this or start_media_id). |
{
"name": "generate_video_from_image",
"description": "Generate a video that starts from a given image (i2v — image-to-video).\n\n Pass exactly one start: start_image_base64 (raw base64 image bytes, no data: URI\n prefix) or start_media_id (media_id of one of YOUR finished videos — the clip then\n starts from that video's `frame`, \"last\" by default, taken server-side).\n Mutually exclusive with reference-image (r2v) generation.\n\n Chain clips: every finished video carries `last_frame_path` and its media_id, so\n clip 2 = generate_video_from_image(prompt=\"...\", start_media_id=<clip 1 media_id>),\n clip 3 the same from clip 2's media_id. The chained job runs on the account that\n made the source clip.\n\n For \"make content that looks like this real photo of a person\" specifically,\n prefer generate_video_with_reference (r2v) over this — see its docstring for why.\n i2v is better suited to \"continue visually from this exact frame\" (e.g. chaining\n clips), not identity preservation across a whole new scene.\n\n beats: how many DISTINCT action phases the prompt describes — \"ears flick back\",\n \"tail lashes\", \"strikes the ball\", \"ball flies off\" are four. Give it and the server\n picks the clip length for you (about two phases per second) and says in the reply what\n it picked and why. Measured 31.08.2026: the model STRETCHES whatever you describe over\n whatever length you ask for, so one phase in four seconds comes out as slow motion, and\n the same text at six seconds instead of four loses 15% of its movement. Adjectives are\n not phases. Leave beats out and the length you passed is used unchanged.\n\n project_id: put the clip into a project made with create_project instead of the\n account's default one.\n Such a project is PINNED to the account that created it: passing project_id also\n decides which account generates (and the call refuses instead of using another).\n\n voice / voice_style / voice_text: optional narration — same semantics as\n generate_video_with_reference. Only works with speech-capable Veo 3.1 i2v models.\n ",
"inputSchema": {
"type": "object",
"title": "generate_video_from_imageArguments",
"required": [
"prompt"
],
"properties": {
"seed": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Seed",
"default": null,
"description": "Optional integer RNG seed for reproducible output."
},
"beats": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Beats",
"default": null,
"description": "Optional number of beats/segments for multi-beat video generation."
},
"frame": {
"enum": [
"first",
"last"
],
"type": "string",
"title": "Frame",
"default": "last",
"description": "When start_media_id is a video, extract \"first\" or \"last\" frame."
},
"voice": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Voice",
"default": null,
"description": "Optional Gemini TTS voice name from list_voices() (e.g. Algieba, Aoede)."
},
"aspect": {
"enum": [
"VIDEO_ASPECT_RATIO_LANDSCAPE",
"VIDEO_ASPECT_RATIO_PORTRAIT"
],
"type": "string",
"title": "Aspect",
"default": "VIDEO_ASPECT_RATIO_LANDSCAPE",
"description": "Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT)."
},
"prompt": {
"type": "string",
"title": "Prompt",
"description": "Text prompt describing what to generate."
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Project Id",
"default": null,
"description": "Optional Flow project UUID; omit to use the account default."
},
"voice_text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Voice Text",
"default": null,
"description": "Optional spoken text for voiceover/narration; defaults to prompt if omitted."
},
"voice_style": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Voice Style",
"default": null,
"description": "Optional voice delivery hint (e.g. \"warm\", \"whisper\")."
},
"start_media_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Start Media Id",
"default": null,
"description": "Media UUID of a prior Flow image or video to use as starting frame (use this or start_image_base64)."
},
"include_preview": {
"type": "boolean",
"title": "Include Preview",
"default": true,
"description": "Include an inline image/frame preview in the tool response."
},
"video_model_key": {
"enum": [
"abra_i2v_4s",
"abra_i2v_6s",
"abra_i2v_8s",
"abra_i2v_10s",
"abra_i2v_4s_360p",
"abra_i2v_6s_360p",
"abra_i2v_8s_360p",
"abra_i2v_10s_360p",
"macaron_cookie_i2v_3s",
"macaron_cookie_i2v_4s",
"macaron_cookie_i2v_5s",
"macaron_cookie_i2v_6s",
"macaron_cookie_i2v_7s",
"macaron_cookie_i2v_8s",
"macaron_cookie_i2v_9s",
"macaron_cookie_i2v_10s",
"macaron_cookie_i2v_11s",
"macaron_cookie_i2v_12s",
"macaron_cookie_i2v_13s",
"macaron_cookie_i2v_14s",
"macaron_cookie_i2v_15s",
"macaron_cookie_i2v_3s_360p",
"macaron_cookie_i2v_4s_360p",
"macaron_cookie_i2v_5s_360p",
"macaron_cookie_i2v_6s_360p",
"macaron_cookie_i2v_7s_360p",
"macaron_cookie_i2v_8s_360p",
"macaron_cookie_i2v_9s_360p",
"macaron_cookie_i2v_10s_360p",
"macaron_cookie_i2v_11s_360p",
"macaron_cookie_i2v_12s_360p",
"macaron_cookie_i2v_13s_360p",
"macaron_cookie_i2v_14s_360p",
"macaron_cookie_i2v_15s_360p",
"veo_3_1_i2v_lite",
"veo_3_1_i2v_s_fast",
"veo_3_1_i2v_s"
],
"type": "string",
"title": "Video Model Key",
"default": "abra_i2v_4s",
"description": "Image-to-video model key (e.g. abra_i2v_lite, veo_3_1_i2v_s_fast_fl)."
},
"start_image_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Start Image Base64",
"default": null,
"description": "Base64-encoded starting frame image (use this or start_media_id)."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| any |
| Optional integer RNG seed for reproducible output. |
| voice | any | Optional Gemini TTS voice name from list_voices() (e.g. Algieba, Aoede). |
| aspect | string | Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT). |
| prompt * | string | Text prompt describing what to generate. |
| entity_id | any | Optional character entityId to attach its saved voice for lip-sync (requires veo_3_1_r2v_lite). |
| project_id | any | Optional Flow project UUID; omit to use the account default. |
| voice_text | any | Optional spoken text for voiceover/narration; defaults to prompt if omitted. |
| voice_style | any | Optional voice delivery hint (e.g. "warm", "whisper"). |
| include_preview | boolean | Include an inline image/frame preview in the tool response. |
| video_model_key | string | Reference-to-video model key (e.g. abra_r2v_lite, veo_3_1_r2v_lite). |
| reference_images_base64 * | array | List of 1-3 base64-encoded character/subject reference images (no data: prefix). |
{
"name": "generate_video_with_reference",
"description": "Generate a video using up to 7 reference images (r2v — e.g. a consistent\n character/subject across the video). reference_images_base64: raw base64-encoded\n image bytes (no data: URI prefix), up to 7 with Omni Flash keys (abra_r2v_*, the\n default), up to 3 with Veo r2v keys (veo_3_1_r2v_*). Mutually exclusive with start-image\n (i2v) generation.\n\n THIS IS THE RECOMMENDED WAY to get content that actually looks like a real person\n from a real photo — confirmed live 2026-07-11: r2v conditions generation on the\n reference photo's actual pixels and reliably preserves the real face, unlike the\n character system's `generate_character_image`/`generate_character_turnaround`\n (those condition on a TEXT description + a loosely-attached reference and were\n confirmed to drift to an unrelated-looking person). For a still IMAGE rather than\n video, use this and read `first_frame_path` (or `last_frame_path`) off the result once done (via\n check_job) — same-day testing found no reliable image-only equivalent: a plain\n generate_image call with image_inputs pointed at an external photo was confirmed\n to silently ignore the reference entirely.\n\n project_id: put the clip into a project made with create_project instead of the\n account's default one.\n Such a project is PINNED to the account that created it: passing project_id also\n decides which account generates (and the call refuses instead of using another).\n\n entity_id: optional — the entityId of a character you created and voiced with\n set_character_voice. Only meaningful together with video_model_key=\"veo_3_1_r2v_lite\"\n (the one r2v model that generates speech natively); for abra_r2v_* models passing\n entity_id has no effect (and was known to 500 historically). When set with the right\n model, Flow attaches the character's audioReferences and lip-syncs the generated\n speech in the assigned TTS voice. The job runs on the character's own Google account\n (that's where the entity and its audioReferences live) — so an account different\n from your other calls is normal here, no action needed.\n\n voice / voice_style / voice_text: optional one-shot narration without creating a\n character. Pass a voice name from list_voices() (e.g. \"Algieba\") and either a\n voice_text or embed the spoken line in the prompt between quotes. Mutually\n exclusive with entity_id — a character already carries its own voice. Only works\n with speech-capable r2v models (veo_3_1_r2v_lite).\n ",
"inputSchema": {
"type": "object",
"title": "generate_video_with_referenceArguments",
"required": [
"prompt",
"reference_images_base64"
],
"properties": {
"seed": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Seed",
"default": null,
"description": "Optional integer RNG seed for reproducible output."
},
"voice": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Voice",
"default": null,
"description": "Optional Gemini TTS voice name from list_voices() (e.g. Algieba, Aoede)."
},
"aspect": {
"enum": [
"VIDEO_ASPECT_RATIO_LANDSCAPE",
"VIDEO_ASPECT_RATIO_PORTRAIT"
],
"type": "string",
"title": "Aspect",
"default": "VIDEO_ASPECT_RATIO_LANDSCAPE",
"description": "Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT)."
},
"prompt": {
"type": "string",
"title": "Prompt",
"description": "Text prompt describing what to generate."
},
"entity_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Entity Id",
"default": null,
"description": "Optional character entityId to attach its saved voice for lip-sync (requires veo_3_1_r2v_lite)."
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Project Id",
"default": null,
"description": "Optional Flow project UUID; omit to use the account default."
},
"voice_text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Voice Text",
"default": null,
"description": "Optional spoken text for voiceover/narration; defaults to prompt if omitted."
},
"voice_style": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Voice Style",
"default": null,
"description": "Optional voice delivery hint (e.g. \"warm\", \"whisper\")."
},
"include_preview": {
"type": "boolean",
"title": "Include Preview",
"default": true,
"description": "Include an inline image/frame preview in the tool response."
},
"video_model_key": {
"enum": [
"abra_r2v_4s",
"abra_r2v_6s",
"abra_r2v_8s",
"abra_r2v_10s",
"abra_r2v_4s_360p",
"abra_r2v_6s_360p",
"abra_r2v_8s_360p",
"abra_r2v_10s_360p",
"macaron_cookie_r2v_3s",
"macaron_cookie_r2v_4s",
"macaron_cookie_r2v_5s",
"macaron_cookie_r2v_6s",
"macaron_cookie_r2v_7s",
"macaron_cookie_r2v_8s",
"macaron_cookie_r2v_9s",
"macaron_cookie_r2v_10s",
"macaron_cookie_r2v_11s",
"macaron_cookie_r2v_12s",
"macaron_cookie_r2v_13s",
"macaron_cookie_r2v_14s",
"macaron_cookie_r2v_15s",
"macaron_cookie_r2v_3s_360p",
"macaron_cookie_r2v_4s_360p",
"macaron_cookie_r2v_5s_360p",
"macaron_cookie_r2v_6s_360p",
"macaron_cookie_r2v_7s_360p",
"macaron_cookie_r2v_8s_360p",
"macaron_cookie_r2v_9s_360p",
"macaron_cookie_r2v_10s_360p",
"macaron_cookie_r2v_11s_360p",
"macaron_cookie_r2v_12s_360p",
"macaron_cookie_r2v_13s_360p",
"macaron_cookie_r2v_14s_360p",
"macaron_cookie_r2v_15s_360p",
"veo_3_1_r2v_lite"
],
"type": "string",
"title": "Video Model Key",
"default": "abra_r2v_4s",
"description": "Reference-to-video model key (e.g. abra_r2v_lite, veo_3_1_r2v_lite)."
},
"reference_images_base64": {
"type": "array",
"items": {
"type": "string"
},
"title": "Reference Images Base64",
"description": "List of 1-3 base64-encoded character/subject reference images (no data: prefix)."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| prompt * | string | Text prompt describing what to generate. |
| account | any | Optional Google account email owning the entity; omit to auto-resolve. |
| entity_id * | string | Flow character entityId (from create_character or list_characters). |
| character_slot_index * | integer | Target character slot: 0 for portrait, 1 for full body. |
{
"name": "generate_character_image",
"description": "Generate a portrait or body image for an existing Flow character.\n\n entity_id: the character's entityId — from create_character or\n create_character_from_photo, or create_character_from_description's own result\n (which already calls this for slot 0 — no need to call it again for that slot).\n character_slot_index: 0 for portrait, 1 for body. Flow keeps the two slots\n visually consistent server-side once they share an entityId — no reference\n image needed for the body shot.\n\n ONE-SHOT PER SLOT, confirmed live 2026-07-25: each slot can be written exactly\n once — a second generate_character_image call into an ALREADY-FILLED slot fails\n (HTTP 500), it does not overwrite. Also confirmed: the FIRST write into a slot\n 500s on a card with no personality_notes saved yet — call update_character with\n personality_notes before the first generate_character_image on a fresh entity_id.\n If you're using create_character_from_description, both of these are already\n handled for slot 0; this caveat mainly matters if you're driving slot 1 (body) or\n entity_id yourself.\n\n THIS TOOL DOES NOT PLACE A CHARACTER INTO A NEW SCENE — it only ever (re)writes\n the character's own portrait/body slot, once. For \"generate a picture of this\n character doing X\", use generate_with_face(character=..., prompt=...) instead,\n which conditions on the reference image, not entity_id.\n\n CAVEAT confirmed live 2026-07-11: for a character seeded from a REAL PHOTO\n (create_character_from_photo), this text-prompt generation is NOT reliable for\n identity — it conditions on a text description, not the real photo's pixels, and\n was confirmed to drift to an unrelated-looking person even with a detailed\n physical description saved on the entity. Fine for invented/stylized characters.\n If the goal is \"content that looks like a real person,\" use\n generate_video_with_reference (r2v) instead — see its docstring.\n\n Only works for the account whose project actually owns this entity_id —\n characters are per-account, same as projects. Pass that account as `account`\n (optional for a character saved in list_characters(): it is looked up).\n ",
"inputSchema": {
"type": "object",
"title": "generate_character_imageArguments",
"required": [
"prompt",
"entity_id",
"character_slot_index"
],
"properties": {
"model": {
"enum": [
"BELUGA",
"GEM_PIX_2",
"HARBOR_SEAL"
],
"type": "string",
"title": "Model",
"default": "BELUGA",
"description": "Image model key (e.g. BELUGA, NARWHAL, HARBOR_SEAL)."
},
"aspect": {
"enum": [
"IMAGE_ASPECT_RATIO_LANDSCAPE",
"IMAGE_ASPECT_RATIO_PORTRAIT",
"IMAGE_ASPECT_RATIO_SQUARE",
"IMAGE_ASPECT_RATIO_LANDSCAPE_FOUR_THREE",
"IMAGE_ASPECT_RATIO_PORTRAIT_THREE_FOUR"
],
"type": "string",
"title": "Aspect",
"default": "IMAGE_ASPECT_RATIO_LANDSCAPE",
"description": "Image aspect ratio (IMAGE_ASPECT_RATIO_LANDSCAPE or IMAGE_ASPECT_RATIO_PORTRAIT)."
},
"prompt": {
"type": "string",
"title": "Prompt",
"description": "Text prompt describing what to generate."
},
"account": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Account",
"default": null,
"description": "Optional Google account email owning the entity; omit to auto-resolve."
},
"entity_id": {
"type": "string",
"title": "Entity Id",
"description": "Flow character entityId (from create_character or list_characters)."
},
"character_slot_index": {
"type": "integer",
"title": "Character Slot Index",
"description": "Target character slot: 0 for portrait, 1 for full body."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| Parameter | Type | Description |
|---|---|---|
| name | any | Optional registry name to save the character under for future lookup. |
| account * | string | Google account email from your pool that owns this resource. |
| photo_base64 * | string | Base64-encoded portrait photo (no data: prefix). |
| body_photo_base64 | any | Optional base64-encoded full-body photo (no data: prefix). |
| physical_description | any | Optional physical appearance notes stored on the character. |
{
"name": "create_character_from_photo",
"description": "Create a new Flow character whose portrait (and optionally body) is a REAL\n PHOTO, not a text description or generation. Both photos become the character's\n slot-0 (portrait) and slot-1 (body) images directly — Flow's own upload mechanism\n in its New Character composer, discovered live 2026-07-11 — no image generation\n call happens for either slot, so resemblance is exact, not \"similar style\". Boots\n the on-demand Chrome for this account (~15-30s, longer if body_photo_base64 is\n also given), same as create_character, no Android/recaptcha involved.\n\n photo_base64: raw base64-encoded image bytes, no data: URI prefix — portrait.\n body_photo_base64: same format, optional — ideally a full-body photo of the same\n person, for a guaranteed-exact body image (no generation at all for that slot).\n\n physical_description: IMPORTANT, look at the photo yourself and write this —\n a detailed physical description (build, hair color/style, eye color, clothing,\n distinguishing features), similar in spirit to: \"Adult male, mid-20s, ~180cm,\n lean build. Medium-brown wavy hair, light blue-grey eyes, faint stubble. Wears\n a dark grey hoodie, dark jeans, white sneakers.\" This gets saved into the same\n \"Character Info\" field as Flow's own UI. CORRECTED same day as this tool was\n first built: an earlier version of this doc claimed body/multi-view generation\n can never stay consistent with a photo-seeded portrait — WRONG, confirmed live.\n The actual missing ingredient was this detailed text spec — with it, both\n generate_character_turnaround and generate_character_expression_sheet below\n produce genuinely consistent, on-model results (reproduced live against Flow's\n real UI, not just guessed). Skip this only for a bare portrait-only character\n with no further generation planned.\n\n Next step after you have entity_id: update_character for a display name, then\n generate_character_turnaround / generate_character_expression_sheet if you want\n those (skip if you already passed body_photo_base64 for an exact body photo —\n generating over it would replace the real photo with a generated approximation).\n\n Fidelity note added 2026-07-11 (later same day): \"genuinely consistent\" above means\n consistent WITH ITSELF across panels (same invented-looking person in every view),\n not necessarily an exact match to the real person's face — real-world feedback was\n \"I don't recognize myself.\" Good for stylized/invented character sheets; if the goal\n is content that's recognizably the actual person, use generate_video_with_reference\n (r2v) instead, which conditions on the real photo's pixels rather than a description.\n\n name: optional, added 2026-07-25 — give the character a short human-readable name\n and it's saved to YOUR list (list_characters()), keyed on the uploaded photo as the\n identity reference (portrait_media_id). Once named, use\n generate_with_face(character=name, prompt=...) for further images instead of\n tracking portrait_media_id yourself. Must be unique among your own characters; a\n clash does NOT fail the call — the character is still created in Flow, just\n reported back with a `registration_error` instead of a `name` in the result, so\n pick a different name and register it yourself later if that happens.\n ",
"inputSchema": {
"type": "object",
"title": "create_character_from_photoArguments",
"required": [
"account",
"photo_base64"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name",
"default": null,
"description": "Optional registry name to save the character under for future lookup."
},
"account": {
"type": "string",
"title": "Account",
"description": "Google account email from your pool that owns this resource."
},
"photo_base64": {
"type": "string",
"title": "Photo Base64",
"description": "Base64-encoded portrait photo (no data: prefix)."
},
"body_photo_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Body Photo Base64",
"default": null,
"description": "Optional base64-encoded full-body photo (no data: prefix)."
},
"physical_description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Physical Description",
"default": null,
"description": "Optional physical appearance notes stored on the character."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| Visual description used to generate and store the character. |
| display_name | any | Optional display name in Flow UI; defaults to name. |
| portrait_prompt | any | Optional custom prompt for the initial portrait generation. |
{
"name": "create_character_from_description",
"description": "Invent a new character from a text description and generate its portrait — the\n full \"make me a character, no photo involved\" path in ONE call, instead of gluing\n together create_character + update_character + generate_character_image yourself.\n\n name: short and unique among YOUR OWN characters (see list_characters()) — how\n you'll refer to this character afterwards, e.g. character=\"detective_marlowe\" in\n generate_with_face.\n description: physical description — build, hair, eyes, clothing, distinguishing\n features. Saved on the character's card AND used to generate the portrait, so\n write it as concretely as you would any image prompt.\n account: Google account (and its project) to create the character under.\n\n The portrait is written to Flow's card exactly ONCE — that slot cannot be\n regenerated. Calling this again with the SAME name does not retry it: it fails\n fast with a clear message instead of hitting a raw HTTP 500 downstream. Want a\n different look? Use a new name.\n\n Returns {\"name\", \"entity_id\", \"portrait_media_id\", \"portrait_url\", \"hint\"} once\n done. Next step for ANY further image of this character: generate_with_face(\n character=name, prompt=\"...\") — never entity_id/character_slot_index, which only\n works for that one portrait write and cannot place the character into new scenes.\n ",
"inputSchema": {
"type": "object",
"title": "create_character_from_descriptionArguments",
"required": [
"name",
"description",
"account"
],
"properties": {
"name": {
"type": "string",
"title": "Name",
"description": "Unique registry name for this character."
},
"model": {
"enum": [
"BELUGA",
"GEM_PIX_2",
"HARBOR_SEAL"
],
"type": "string",
"title": "Model",
"default": "BELUGA",
"description": "Image model key (e.g. BELUGA, NARWHAL, HARBOR_SEAL)."
},
"aspect": {
"enum": [
"IMAGE_ASPECT_RATIO_LANDSCAPE",
"IMAGE_ASPECT_RATIO_PORTRAIT",
"IMAGE_ASPECT_RATIO_SQUARE",
"IMAGE_ASPECT_RATIO_LANDSCAPE_FOUR_THREE",
"IMAGE_ASPECT_RATIO_PORTRAIT_THREE_FOUR"
],
"type": "string",
"title": "Aspect",
"default": "IMAGE_ASPECT_RATIO_PORTRAIT",
"description": "Image aspect ratio (IMAGE_ASPECT_RATIO_LANDSCAPE or IMAGE_ASPECT_RATIO_PORTRAIT)."
},
"account": {
"type": "string",
"title": "Account",
"description": "Google account email from your pool that owns this resource."
},
"description": {
"type": "string",
"title": "Description",
"description": "Visual description used to generate and store the character."
},
"display_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Display Name",
"default": null,
"description": "Optional display name in Flow UI; defaults to name."
},
"portrait_prompt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Portrait Prompt",
"default": null,
"description": "Optional custom prompt for the initial portrait generation."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| entity_id * | string | Flow character entityId (from create_character or list_characters). |
| outfit_description | string | Outfit description for the turnaround sheet. |
| character_slot_index | integer | Target character slot (usually 1 for body turnaround). |
{
"name": "generate_character_turnaround",
"description": "Generate a single image showing the character's FULL BODY from 3 angles\n (front/side/back) in one row, labeled — a \"turnaround sheet\". Pure HTTP as of\n 2026-07-26 — no browser involved (see below for what changed and what that does\n and does NOT prove).\n\n History, so the mechanism change doesn't erase the reason this tool exists:\n confirmed live 2026-07-11 that the plain Android-bearer generate_character_image\n path produces an INCONSISTENT result for this exact kind of multi-view prompt,\n even with a detailed physical description already saved on the entity — a real\n web composer (Chrome/CDP) driving Flow's own translation/agent layer was reliably\n consistent for the same prompt. That is why this tool exists as a separate path\n from plain image generation, and that finding still stands.\n\n What changed 2026-07-26: this no longer drives that browser composer. The\n underlying job type (generate_character_scene) moved to a THIRD mechanism, not\n either of the two compared above — plain HTTP with image_inputs=[the character's\n own portrait_media_id from the registry], the same face-preserving mechanism\n generate_with_face uses. This was done to remove the last browser dependency\n (worker.py's BROWSER_JOB_TYPES is now empty), not because this new path's\n multi-view consistency was re-verified — it has NOT been checked live yet whether\n image_inputs alone holds up as well as the old composer did for a 3-angle sheet.\n Treat multi-view reliability here as unverified-but-plausible until confirmed by\n eye against real output, not as re-proven.\n\n Still recommend a detailed physical description saved first (create_character_from_photo's\n physical_description param, or update_character's personality_notes) — that\n recommendation carries over from the 2026-07-11 finding above; whether it still\n matters mechanically on this new image_inputs path (vs. the composer's own\n entityContext-driven translation layer, which this path does not use) has not been\n separately tested, so keeping it costs nothing and there's no evidence yet that\n it's safe to drop.\n\n account: Google account that owns this entity_id's project.\n character_slot_index: which slot to write the result into (0 = portrait, 1 =\n body — default 1).\n ",
"inputSchema": {
"type": "object",
"title": "generate_character_turnaroundArguments",
"required": [
"entity_id",
"account"
],
"properties": {
"account": {
"type": "string",
"title": "Account",
"description": "Google account email from your pool that owns this resource."
},
"entity_id": {
"type": "string",
"title": "Entity Id",
"description": "Flow character entityId (from create_character or list_characters)."
},
"outfit_description": {
"type": "string",
"title": "Outfit Description",
"default": "обычная повседневная одежда",
"description": "Outfit description for the turnaround sheet."
},
"character_slot_index": {
"type": "integer",
"title": "Character Slot Index",
"default": 1,
"description": "Target character slot (usually 1 for body turnaround)."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "generate_character_expression_sheet",
"description": "Generate a single image showing the character's FACE with several different\n expressions in one row, labeled — an \"expression sheet\". Same job type and same\n history as generate_character_turnaround — see its docstring for the full story:\n the 2026-07-11 finding (plain Android-bearer image path is inconsistent for\n multi-view prompts, the real web composer was reliably consistent) is why this\n tool exists, but as of 2026-07-26 it no longer drives that composer — pure HTTP\n with image_inputs=[portrait_media_id] instead (no browser). Multi-view consistency\n on THIS new path has not been re-verified live yet; the recommendation to keep a\n detailed physical description saved on the entity carries over from the old\n finding but hasn't been separately re-tested against the new mechanism either.\n\n account: Google account that owns this entity_id's project.\n expressions: list of expression labels, e.g. [\"нейтральное выражение\",\n \"удивление\", \"лёгкая улыбка\", \"смех\"] (default if omitted). Keep to 3-5 for a\n readable single-row layout.\n character_slot_index: which slot to write into (0 = portrait, default — this\n overwrites the existing portrait image with the expression sheet, matching how\n this was used when reproducing the feature; 1 = body slot also works).\n ",
"inputSchema": {
"type": "object",
"title": "generate_character_expression_sheetArguments",
"required": [
"entity_id",
"account"
],
"properties": {
"account": {
"type": "string",
"title": "Account",
"description": "Google account email from your pool that owns this resource."
},
"entity_id": {
"type": "string",
"title": "Entity Id",
"description": "Flow character entityId (from create_character or list_characters)."
},
"expressions": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Expressions",
"default": null,
"description": "Optional list of facial expressions to render."
},
"character_slot_index": {
"type": "integer",
"title": "Character Slot Index",
"default": 0,
"description": "Target character slot (usually 0 for portrait expressions)."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| Optional Flow project UUID; omit to use the account default. |
| idempotency_key | any | Optional deduplication key; repeats with the same key return the existing job. |
| include_preview | boolean | Include an inline image/frame preview in the tool response. |
{
"name": "generate_voice",
"description": "Speak `text` aloud with a Gemini TTS voice and return a WAV (24 kHz, mono, 16-bit).\n\n Takes ~15-25 seconds for up to 300 characters. Costs no image/video quota. Russian,\n English and most other languages work; the voice name only sets the timbre.\n\n text: what to say, up to 5000 characters. Google's TTS itself takes at most 500\n characters (about 30 seconds of speech) per request, so text longer than 300\n characters is split at sentence boundaries, spoken piece by piece and joined into\n ONE WAV — about 30 seconds of waiting per 1000 characters; the result then also has\n `chunks` and `media_ids`. A lone word or a fragment that reads like an instruction\n (\"in a modern style.\") may still be refused: give it a full sentence.\n voice: one of list_voices() (default \"Algieba\").\n style: optional delivery hint, e.g. \"calm, slow\" or \"cheerful\". Empty = neutral.\n project_id: optional, a project from create_project; omit for the account's default.\n include_preview: also return `wav_preview_b64`, the FIRST 8 KB of the file as base64.\n Off by default: it is only the first fraction of a second and costs context. To get the\n whole file open `download_url`, or call fetch_media(path=download_path, force_bytes=True).\n\n Returns {audio_url, download_url, download_path, media_id, duration_sec_estimate,\n size_bytes, voice} — `audio_url` is Google's signed link and EXPIRES, `download_url`\n is ours. While still rendering, returns a job_id: call check_job.\n idempotency_key: optional, any string unique to this logical request (e.g. a uuid).\n Repeating a call with the same key within 24h returns the SAME job instead of a\n new one — use it when you may retry after a timeout or a busy error.\n ",
"inputSchema": {
"type": "object",
"title": "generate_voiceArguments",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"title": "Text",
"description": "Speech text to synthesize."
},
"style": {
"type": "string",
"title": "Style",
"default": "",
"description": "Optional delivery instruction (e.g. \"calm, slow\")."
},
"voice": {
"type": "string",
"title": "Voice",
"default": "Algieba",
"description": "Gemini TTS preset voice name from list_voices()."
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Project Id",
"default": null,
"description": "Optional Flow project UUID; omit to use the account default."
},
"idempotency_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Idempotency Key",
"default": null,
"description": "Optional deduplication key; repeats with the same key return the existing job."
},
"include_preview": {
"type": "boolean",
"title": "Include Preview",
"default": false,
"description": "Include an inline image/frame preview in the tool response."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| Flow character entityId from create_character or create_character_from_photo. |
{
"name": "set_character_voice",
"description": "Attach a preset Gemini TTS voice to a Flow character for auto-lipsync in future videos.\n\n Synthesizes a short reference audio in the chosen voice and attaches its media_id to\n the character's `audio_references`. This is a ONE-TIME setup per character: any\n subsequent video generation that references this character will auto-lipsync with this\n voice (same mechanism Flow Web uses when you set a voice via its UI).\n\n Calling it again overwrites the voice. Pass sample_text=null for a short default sample\n — only the resulting audio is kept as a reference; the content of the text is not used\n for later videos.\n\n character_id: entityId from create_character / create_character_from_photo.\n account: Google account email that owns this character.\n voice: one of list_voices() (default \"Algieba\").\n style: optional delivery hint, e.g. \"calm, slow\".\n sample_text: optional short sentence; default is a short neutral Russian sentence.\n project_id: optional project; omit for the account's default.\n\n Returns {entity_id, voice, media_id, audio_url, duration_sec_estimate, audio_references}.\n ",
"inputSchema": {
"type": "object",
"title": "set_character_voiceArguments",
"required": [
"character_id",
"account"
],
"properties": {
"style": {
"type": "string",
"title": "Style",
"default": "",
"description": "Optional delivery instruction (e.g. \"calm, slow\")."
},
"voice": {
"type": "string",
"title": "Voice",
"default": "Algieba",
"description": "Gemini TTS preset voice name from list_voices()."
},
"account": {
"type": "string",
"title": "Account",
"description": "Google account email from your pool that owns this resource."
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Project Id",
"default": null,
"description": "Optional Flow project UUID; omit to use the account default."
},
"sample_text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Sample Text",
"default": null,
"description": "Optional sample sentence to synthesize as the voice reference."
},
"character_id": {
"type": "string",
"title": "Character Id",
"description": "Flow character entityId from create_character or create_character_from_photo."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "upscale_video",
"description": "Upscale an existing generated video (from a prior generate_video call) to a\n higher resolution -- the same \"270p/720p/1080p/4K\" choice Flow offers when downloading.\n\n Counts against the weekly free video limit (3 a week without a subscription), like\n any other video operation, and spends the account's own Flow credits.\n\n account: the Google account whose project owns media_id. Do not guess it and do not\n ask the user: the generate_video result you already have carries it in the\n `account_used` field -- pass that value verbatim. A media_id only exists inside the\n project of the account that produced it, so any other account returns a clean error.\n\n target_resolution: \"1080p\", \"4K\" or \"from_360p\" (omni_upsampler_360p -- lifts a 360p\n draft to normal quality; not yet live-tested). 4K may be locked behind a paid plan tier on some\n accounts -- comes back as a clean error rather than a crash, just report it.\n\n aspect: \"VIDEO_ASPECT_RATIO_LANDSCAPE\" or \"VIDEO_ASPECT_RATIO_PORTRAIT\". If omitted,\n automatically inherited from the parent job that generated media_id (falling back to\n VIDEO_ASPECT_RATIO_LANDSCAPE only if unknown).\n\n Slower than generation: it is kicked off and then polled like a normal video\n generation -- returns a job_id to poll with check_job if it is not done within ~40s.\n\n Returns {\"media_id\": <new upscaled mediaId>, \"download_path\": \"/v1/media/....mp4\",\n \"resolution\": ...} when done.\n ",
"inputSchema": {
"type": "object",
"title": "upscale_videoArguments",
"required": [
"media_id",
"account"
],
"properties": {
"aspect": {
"anyOf": [
{
"enum": [
"VIDEO_ASPECT_RATIO_LANDSCAPE",
"VIDEO_ASPECT_RATIO_PORTRAIT"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Aspect",
"default": null,
"description": "Optional output aspect ratio."
},
"account": {
"type": "string",
"title": "Account",
"description": "Google account email from your pool that owns this resource."
},
"media_id": {
"type": "string",
"title": "Media Id",
"description": "Media UUID returned by a prior image or video generation."
},
"target_resolution": {
"enum": [
"1080p",
"4K",
"from_360p"
],
"type": "string",
"title": "Target Resolution",
"default": "1080p",
"description": "Target resolution (\"1080P\" or \"4K\")."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "check_job",
"description": "Check the status/result of a job previously returned by generate_image,\n generate_video, generate_video_from_image, or generate_video_with_reference.\n\n Besides status/result it reports PROGRESS, so you can tell the person something\n truthful instead of \"still waiting\":\n queue_position — how many jobs are ahead (1 = next to be picked up); only while queued\n queue_seconds — how long it sat in the queue\n run_seconds — how long the generation itself has been running\n account_used — which Google account it ran on, once finished\n while running, also:\n elapsed_s — seconds since the worker picked it up\n attempt / accounts_total — which of the owner's Google accounts is being tried\n (attempt > 1 means earlier accounts failed and it rotated on)\n phase — submitting | voice_synth | polling (polling = Google accepted it and\n it is rendering; that is the normal wait)\n last_error — why the previous account's attempt failed (emails masked)\n hint — the same thing in one human sentence\n A job that is queued behind others needs patience; one that has been running far longer\n than its model's typical time (see list_models) is the one worth reporting as stuck.\n Rotation has a ceiling: a video stops trying new accounts after ~10 min (images and voice\n after ~3 min), and stops early when the same error repeats on 3 accounts in a row — the\n job then fails with that error and the number of accounts tried, so tell the person the\n reason instead of retrying the identical request.\n\n Once status is 'done', SAVE THE FILES: the response carries `download_urls` (no auth\n header needed) and `save_as` (filenames). Write them into the user's project — e.g.\n ./media/<save_as> — and tell them where. The URLs expire within the hour, and the\n server's own copy can be reclaimed when its disk fills; the copy in their project is\n the one that lasts.",
"inputSchema": {
"type": "object",
"title": "check_jobArguments",
"required": [
"job_id"
],
"properties": {
"job_id": {
"type": "string",
"title": "Job Id",
"description": "Job UUID returned by any generation tool."
},
"include_preview": {
"type": "boolean",
"title": "Include Preview",
"default": true,
"description": "Include an inline image/frame preview in the tool response."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}| force_bytes |
| boolean |
| Return base64 bytes inline instead of only URL/preview. |
{
"name": "fetch_media",
"description": "Download a generated media file (video, frame) and return its bytes,\n base64-encoded, so the file can be saved or shown even though the media endpoint\n isn't publicly reachable with your MCP key.\n\n THIS IS THE EXPENSIVE PATH — prefer `download_url` from the job result. Bytes returned\n here travel as TEXT, and text is where context dies: a 480 KB audio stem is ~640 thousand\n base64 characters, roughly 160 000 tokens, in ONE tool result. The same file behind\n `download_url` costs about twenty. An inline image preview is cheap by comparison (it\n travels as an image, ~450 tokens) — it is base64 in a text field that hurts.\n\n Because of that this tool REFUSES big files by default and hands back a download link\n instead. Pass force_bytes=True only when you genuinely need the bytes inside the\n conversation and know what it costs.\n\n path: the `download_path` / `first_frame_path` / `last_frame_path` value from a job\n result (e.g. \"/v1/media/<id>.mp4\"), or just the bare filename.\n max_kb: size ceiling for an in-band answer (default 64 KB ≈ 21 000 tokens).\n\n Returns {\"filename\", \"media_type\", \"base64\"}. The download is scoped to your own\n account group — you can only fetch media your key produced. Note videos can be\n several MB, so the base64 payload is large; fetch only when you actually need the\n bytes (to save/display), not to check status (use check_job for that).\n\n On storage: the server keeps a local cache of results and, when it runs short of disk,\n drops the OLDEST files first, whether fetched or not. A dropped file is fetched back\n from the Google account that made it on the next request; if that takes a while you get\n `retry_after_s` — call again then. If that account is disconnected, the error names it\n and gives `reconnect_url`: tell the user to reconnect it, then retry. Only when the\n original cannot be fetched back does it answer 410 with the date. Saving the bytes\n locally is still the way to keep something for good.",
"inputSchema": {
"type": "object",
"title": "fetch_mediaArguments",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"title": "Path",
"description": "Media download_path or filename (e.g. \"/v1/media/<uuid>.jpg\")."
},
"max_kb": {
"type": "integer",
"title": "Max Kb",
"default": 64,
"description": "Maximum inline preview size in KB."
},
"force_bytes": {
"type": "boolean",
"title": "Force Bytes",
"default": false,
"description": "Return base64 bytes inline instead of only URL/preview."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}| string |
| Google account email address. |
| reset_day | integer | Day of month (1-31) when monthly credits reset, or 0 if unknown. |
| oauth_token * | string | Google OAuth master token (aas_et/...) or refresh token. |
{
"name": "add_account_token",
"description": "Attach one of YOUR OWN Google accounts to the pool using an oauth_token captured\n on the USER'S OWN machine (password/2FA never leave it). This is the self-serve\n onboarding path — no server-side browser, no SSH.\n\n PREFERRED PATH — no oauth_token handling at all: call flow_status; its\n `next_step.command` holds a PERSONAL one-line command per OS (mac / linux / win) with\n the owner's ticket inside. RUN IT YOURSELF in the user's terminal. The script submits\n the token to the server by itself and prints \"Готово — аккаунт ... подключён\"; you do\n NOT call add_account_token afterwards. (The same command is shown to the user in the\n cabinet: https://openflowmcp.com/account#accounts.) Node 22+ is the only requirement.\n\n FALLBACK (only if flow_status has no command, or the script says it could not submit\n automatically) — run the generic command, which has no ticket and just prints a line:\n\n curl -sL https://openflowmcp.com/onboard_local.js | node\n\n Windows PowerShell:\n\n irm https://openflowmcp.com/onboard_local.js -OutFile o.js; node o.js\n\n It opens the user's own Chrome at accounts.google.com/EmbeddedSetup. Tell them to log\n in and press Accept, then wait until the page hangs on a spinner (normal, the token is\n already issued), then go BACK to the terminal window running the script and press\n Enter — the script grabs the token only after Enter, it does not do it by itself. Do\n not close the browser window before that. The script prints ONE JSON line: {\"status\":200,\"oauth_token\":...,\n \"email\":...}; with a personal command it also adds \"submitted\":true, which means the\n account is already connected and you are done. Without \"submitted\":true, pass\n oauth_token and email here.\n\n If it prints \"need_email\": true, the account address could not be read off the page —\n ask the user which Google account they just signed into and pass that as `email`, or\n re-run with ONBOARD_EMAIL=them@gmail.com in front of the command.\n\n The oauth_token is SINGLE-USE: if this call fails, the user must log in again for a\n FRESH token — never retry the same one.\n\n On success the account is bound to YOUR key's owner group and the worker picks it up\n within ~30s (no restart). Adding an account is always allowed — even for a key that\n has already spent its free quota, since that is a prerequisite, not a reward.\n\n Only onboard accounts YOU control — a master token grants full account access.",
"inputSchema": {
"type": "object",
"title": "add_account_tokenArguments",
"required": [
"email",
"oauth_token"
],
"properties": {
"email": {
"type": "string",
"title": "Email",
"description": "Google account email address."
},
"reset_day": {
"type": "integer",
"title": "Reset Day",
"default": 0,
"description": "Day of month (1-31) when monthly credits reset, or 0 if unknown."
},
"oauth_token": {
"type": "string",
"title": "Oauth Token",
"description": "Google OAuth master token (aas_et/...) or refresh token."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| Pin to a specific connected Google account email from your pool. |
| thinking_level | any | Optional thinking level ("low", "medium", "high", or "xhigh" on Hydrogen). Overrides thinking_budget. |
| thinking_budget | any | Optional thinking token budget: 0 to disable, -1 dynamic, N upper cap. |
{
"name": "chat_gemini_pro",
"description": "Запрос к Gemini 3 Pro через вашу подписку Google AI Pro.\n\n Использует ваш подключённый Google-аккаунт (подключите на /connect-google).\n Расходует вашу квоту Google, не наши токены.\n\n Args:\n messages: список {\"role\": \"user|assistant\", \"content\": \"...\"}.\n system: системный промпт (опционально).\n max_tokens: максимальное количество токенов в ответе (по умолчанию 65536 — максимум модели,\n допустимо 1..65536). ВАЖНО: токены «размышления» Gemini 3 входят в этот\n лимит — при малом значении ответ обрывается (finish_reason \"length\").\n thinking_budget: бюджет токенов на размышление (необязательно): 0 — выключить\n (если модель позволяет), -1 — динамически, N — верхняя граница.\n thinking_level: уровень размышления (необязательно): \"low\" | \"high\"\n (у Flash ещё \"minimal\" / \"medium\"). Приоритетнее thinking_budget.\n account_email: форсировать конкретный Google-аккаунт из вашего пула\n (например, \"user@gmail.com\"). Если такого в пуле нет — ошибка.\n account_tag: форсировать аккаунты с указанным тэгом (round-robin\n по подмножеству пула; тэги назначаются в кабинете).\n\n Returns:\n {\"text\": str, \"usage\": {\"input_tokens\": int, \"output_tokens\": int}}.\n\n Raises:\n MCPError: если ключ невалиден, Google не подключён, или квота исчерпана.\n ",
"inputSchema": {
"type": "object",
"title": "chat_gemini_proArguments",
"required": [
"messages"
],
"properties": {
"system": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "System",
"default": null,
"description": "Optional system prompt."
},
"messages": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"title": "Messages",
"description": "Conversation turns, list of {\"role\": \"user\"|\"assistant\", \"content\": \"...\"}."
},
"max_tokens": {
"type": "integer",
"title": "Max Tokens",
"default": 65536,
"description": "Max output tokens (1..65536; thinking tokens count toward this limit)."
},
"account_tag": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Account Tag",
"default": null,
"description": "Pin to accounts with this tag (round-robin within the subset)."
},
"account_email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Account Email",
"default": null,
"description": "Pin to a specific connected Google account email from your pool."
},
"thinking_level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Thinking Level",
"default": null,
"description": "Optional thinking level (\"low\", \"medium\", \"high\", or \"xhigh\" on Hydrogen). Overrides thinking_budget."
},
"thinking_budget": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Thinking Budget",
"default": null,
"description": "Optional thinking token budget: 0 to disable, -1 dynamic, N upper cap."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| any |
| Optional thinking level ("low", "medium", "high", or "xhigh" on Hydrogen). Overrides thinking_budget. |
| thinking_budget | any | Optional thinking token budget: 0 to disable, -1 dynamic, N upper cap. |
{
"name": "chat_gemini_flash",
"description": "Быстрый и дешёвый Gemini 3 Flash — для коротких запросов, классификации,\n извлечения полей из текста. Идёт в вашу подписку Google, наши токены не тратит.\n\n Args:\n messages: список {\"role\": \"user|assistant\", \"content\": \"...\"}.\n system: системный промпт (опционально).\n max_tokens: максимальное количество токенов в ответе (по умолчанию 65536 — максимум модели,\n допустимо 1..65536). ВАЖНО: токены «размышления» Gemini 3 входят в этот\n лимит — при малом значении ответ обрывается (finish_reason \"length\").\n thinking_budget: бюджет токенов на размышление (необязательно): 0 — выключить\n (если модель позволяет), -1 — динамически, N — верхняя граница.\n thinking_level: уровень размышления (необязательно): \"low\" | \"high\"\n (у Flash ещё \"minimal\" / \"medium\"). Приоритетнее thinking_budget.\n account_email: форсировать конкретный Google-аккаунт.\n account_tag: форсировать аккаунты с указанным тэгом.\n\n Returns:\n {\"text\": str, \"usage\": {\"input_tokens\": int, \"output_tokens\": int}}.\n\n Raises:\n MCPError: если ключ невалиден, Google не подключён, или квота исчерпана.\n ",
"inputSchema": {
"type": "object",
"title": "chat_gemini_flashArguments",
"required": [
"messages"
],
"properties": {
"system": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "System",
"default": null,
"description": "Optional system prompt."
},
"messages": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"title": "Messages",
"description": "Conversation turns, list of {\"role\": \"user\"|\"assistant\", \"content\": \"...\"}."
},
"max_tokens": {
"type": "integer",
"title": "Max Tokens",
"default": 65536,
"description": "Max output tokens (1..65536; thinking tokens count toward this limit)."
},
"account_tag": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Account Tag",
"default": null,
"description": "Pin to accounts with this tag (round-robin within the subset)."
},
"account_email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Account Email",
"default": null,
"description": "Pin to a specific connected Google account email from your pool."
},
"thinking_level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Thinking Level",
"default": null,
"description": "Optional thinking level (\"low\", \"medium\", \"high\", or \"xhigh\" on Hydrogen). Overrides thinking_budget."
},
"thinking_budget": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Thinking Budget",
"default": null,
"description": "Optional thinking token budget: 0 to disable, -1 dynamic, N upper cap."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "chat_claude_sonnet",
"description": "Запрос к Claude Sonnet 4.6 через вашу подписку Anthropic (если подключена) или\n через подписку Google (Vertex). Поддерживает инструменты (tool_use).\n\n Args:\n messages: список {\"role\": \"user|assistant\", \"content\": \"...\"}.\n system: системный промпт (опционально).\n max_tokens: максимальное количество токенов в ответе.\n tools: описание инструментов в формате Anthropic tool_use (опционально).\n account_email: форсировать конкретный Google-аккаунт.\n account_tag: форсировать аккаунты с указанным тэгом.\n\n Returns:\n {\"text\": str, \"usage\": {...}}. Если модель решила звать инструмент,\n дополнительно вернётся \"tool_calls\": [...].\n\n Raises:\n MCPError: если ключ невалиден, подписка не подключена, или квота исчерпана.\n ",
"inputSchema": {
"type": "object",
"title": "chat_claude_sonnetArguments",
"required": [
"messages"
],
"properties": {
"tools": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Tools",
"default": null,
"description": "Optional Anthropic tool_use tool definitions."
},
"system": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "System",
"default": null,
"description": "Optional system prompt."
},
"messages": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"title": "Messages",
"description": "Conversation turns, list of {\"role\": \"user\"|\"assistant\", \"content\": \"...\"}."
},
"max_tokens": {
"type": "integer",
"title": "Max Tokens",
"default": 4000,
"description": "Max output tokens in the response."
},
"account_tag": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Account Tag",
"default": null,
"description": "Pin to accounts with this tag (round-robin within the subset)."
},
"account_email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Account Email",
"default": null,
"description": "Pin to a specific connected Google account email from your pool."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| thinking_budget | any | Optional thinking token budget: 0 to disable, -1 dynamic, N upper cap. |
{
"name": "chat_gemini_argon",
"description": "Запрос к Gemini 4 Argon (medium) через вашу подписку Google AI Pro.\n\n Самая новая линейка Gemini. Требует аккаунт, которому Argon открыт: если\n Google отвечает 404 на модель, у подключённого аккаунта нет доступа —\n смотрите list_available_llm и переключайтесь через account_email.\n\n Args:\n messages: список {\"role\": \"user|assistant\", \"content\": \"...\"}.\n system: системный промпт (опционально).\n max_tokens: максимум токенов в ответе (1..65536); размышления входят в лимит.\n thinking_budget: 0 — выключить, -1 — динамически, N — верхняя граница.\n thinking_level: \"low\" | \"medium\" | \"high\" (приоритетнее thinking_budget).\n account_email: форсировать конкретный Google-аккаунт из пула.\n account_tag: форсировать аккаунты с указанным тэгом.\n\n Returns:\n {\"text\": str, \"usage\": {\"input_tokens\": int, \"output_tokens\": int}}.\n\n Raises:\n MCPError: ключ невалиден, Google не подключён, модели нет на аккаунте или квота исчерпана.\n ",
"inputSchema": {
"type": "object",
"title": "chat_gemini_argonArguments",
"required": [
"messages"
],
"properties": {
"system": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "System",
"default": null,
"description": "Optional system prompt."
},
"messages": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"title": "Messages",
"description": "Conversation turns, list of {\"role\": \"user\"|\"assistant\", \"content\": \"...\"}."
},
"max_tokens": {
"type": "integer",
"title": "Max Tokens",
"default": 65536,
"description": "Max output tokens (1..65536; thinking tokens count toward this limit)."
},
"account_tag": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Account Tag",
"default": null,
"description": "Pin to accounts with this tag (round-robin within the subset)."
},
"account_email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Account Email",
"default": null,
"description": "Pin to a specific connected Google account email from your pool."
},
"thinking_level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Thinking Level",
"default": null,
"description": "Optional thinking level (\"low\", \"medium\", \"high\", or \"xhigh\" on Hydrogen). Overrides thinking_budget."
},
"thinking_budget": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Thinking Budget",
"default": null,
"description": "Optional thinking token budget: 0 to disable, -1 dynamic, N upper cap."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| thinking_level |
| any |
| Optional thinking level ("low", "medium", "high", or "xhigh" on Hydrogen). Overrides thinking_budget. |
| thinking_budget | any | Optional thinking token budget: 0 to disable, -1 dynamic, N upper cap. |
{
"name": "chat_gemini_carbon",
"description": "Запрос к Gemini 4 Carbon (medium) через вашу подписку Google AI Pro.\n\n Средняя линейка Gemini 4: дешевле и быстрее Hydrogen при похожем качестве\n на коротких задачах. Как и остальные Gemini 4, требует аккаунт, которому\n Carbon открыт: 404 от Google значит, что у подключённого аккаунта доступа\n нет — смотрите list_available_llm и переключайтесь через account_email.\n Варианты `gemini-4-carbon-low` / `-high` доступны по точному id через\n OpenAI-совместимый `/v1/chat/completions`.\n\n Args:\n messages: список {\"role\": \"user|assistant\", \"content\": \"...\"}.\n system: системный промпт (опционально).\n max_tokens: максимум токенов в ответе (1..65536); размышления входят в лимит.\n thinking_budget: 0 — выключить, -1 — динамически, N — верхняя граница.\n thinking_level: \"low\" | \"medium\" | \"high\" (приоритетнее thinking_budget).\n account_email: форсировать конкретный Google-аккаунт из пула.\n account_tag: форсировать аккаунты с указанным тэгом.\n\n Returns:\n {\"text\": str, \"usage\": {\"input_tokens\": int, \"output_tokens\": int}}.\n\n Raises:\n MCPError: ключ невалиден, Google не подключён, модели нет на аккаунте или квота исчерпана.\n ",
"inputSchema": {
"type": "object",
"title": "chat_gemini_carbonArguments",
"required": [
"messages"
],
"properties": {
"system": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "System",
"default": null,
"description": "Optional system prompt."
},
"messages": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"title": "Messages",
"description": "Conversation turns, list of {\"role\": \"user\"|\"assistant\", \"content\": \"...\"}."
},
"max_tokens": {
"type": "integer",
"title": "Max Tokens",
"default": 65536,
"description": "Max output tokens (1..65536; thinking tokens count toward this limit)."
},
"account_tag": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Account Tag",
"default": null,
"description": "Pin to accounts with this tag (round-robin within the subset)."
},
"account_email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Account Email",
"default": null,
"description": "Pin to a specific connected Google account email from your pool."
},
"thinking_level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Thinking Level",
"default": null,
"description": "Optional thinking level (\"low\", \"medium\", \"high\", or \"xhigh\" on Hydrogen). Overrides thinking_budget."
},
"thinking_budget": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Thinking Budget",
"default": null,
"description": "Optional thinking token budget: 0 to disable, -1 dynamic, N upper cap."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| thinking_level | any | Optional thinking level ("low", "medium", "high", or "xhigh" on Hydrogen). Overrides thinking_budget. |
| thinking_budget | any | Optional thinking token budget: 0 to disable, -1 dynamic, N upper cap. |
{
"name": "chat_gemini_hydrogen",
"description": "Запрос к Gemini 4 Hydrogen (medium) через вашу подписку Google AI Pro.\n\n Старшая линейка Gemini 4: до 262144 токенов выхода у самой модели, есть\n уровень размышления `xhigh` (`gemini-4-hydrogen-xhigh`). Требует аккаунт,\n которому Hydrogen открыт: 404 от Google значит, что у подключённого\n аккаунта доступа нет — смотрите list_available_llm и переключайтесь\n через account_email. Варианты `-low` / `-high` / `-xhigh` доступны по\n точному id через OpenAI-совместимый `/v1/chat/completions`.\n\n Args:\n messages: список {\"role\": \"user|assistant\", \"content\": \"...\"}.\n system: системный промпт (опционально).\n max_tokens: максимум токенов в ответе (1..65536); размышления входят в лимит.\n thinking_budget: 0 — выключить, -1 — динамически, N — верхняя граница.\n thinking_level: \"low\" | \"medium\" | \"high\" | \"xhigh\" (приоритетнее thinking_budget).\n account_email: форсировать конкретный Google-аккаунт из пула.\n account_tag: форсировать аккаунты с указанным тэгом.\n\n Returns:\n {\"text\": str, \"usage\": {\"input_tokens\": int, \"output_tokens\": int}}.\n\n Raises:\n MCPError: ключ невалиден, Google не подключён, модели нет на аккаунте или квота исчерпана.\n ",
"inputSchema": {
"type": "object",
"title": "chat_gemini_hydrogenArguments",
"required": [
"messages"
],
"properties": {
"system": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "System",
"default": null,
"description": "Optional system prompt."
},
"messages": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"title": "Messages",
"description": "Conversation turns, list of {\"role\": \"user\"|\"assistant\", \"content\": \"...\"}."
},
"max_tokens": {
"type": "integer",
"title": "Max Tokens",
"default": 65536,
"description": "Max output tokens (1..65536; thinking tokens count toward this limit)."
},
"account_tag": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Account Tag",
"default": null,
"description": "Pin to accounts with this tag (round-robin within the subset)."
},
"account_email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Account Email",
"default": null,
"description": "Pin to a specific connected Google account email from your pool."
},
"thinking_level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Thinking Level",
"default": null,
"description": "Optional thinking level (\"low\", \"medium\", \"high\", or \"xhigh\" on Hydrogen). Overrides thinking_budget."
},
"thinking_budget": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Thinking Budget",
"default": null,
"description": "Optional thinking token budget: 0 to disable, -1 dynamic, N upper cap."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}