openFlow
v1.2.0Omni Flash and Veo video, Nano Banana images on Google Flow, from any MCP client
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
generate_with_face
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.…
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Text prompt describing what to generate. |
aspect | string | Image aspect ratio (IMAGE_ASPECT_RATIO_LANDSCAPE or IMAGE_ASPECT_RATIO_PORTRAIT). |
character | Registered character name from list_characters() (use this or photo_media_id). | |
include_preview | boolean | Include an inline image/frame preview in the tool response. |
model | string | Image model key (e.g. BELUGA, NARWHAL, HARBOR_SEAL). |
photo_media_id | mediaId from create_character_from_photo (use this or character). | |
project_id | Optional Flow project UUID; omit to use the account default. |
generate_image
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 c…
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Text prompt describing what to generate. |
aspect | string | Image aspect ratio (IMAGE_ASPECT_RATIO_LANDSCAPE or IMAGE_ASPECT_RATIO_PORTRAIT). |
control_images | Optional list of base64-encoded PNG/JPEG layout/reference images (no data: prefix). | |
idempotency_key | Optional deduplication key; repeats with the same key return the existing job. | |
image_inputs | Optional list of Flow mediaIds from prior images to edit or reference. | |
include_preview | boolean | Include an inline image/frame preview in the tool response. |
model | string | Image model key (e.g. BELUGA, NARWHAL, HARBOR_SEAL). |
project_id | Optional Flow project UUID; omit to use the account default. | |
seed | Optional integer RNG seed for reproducible output. |
music_generate
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…
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Music description (genre, mood, instruments, tempo). |
conversation_id | Optional conversation ID to continue/refine a previous music session. | |
lyrics | Optional song lyrics to sing. | |
model | string | Music model ("lyria" or "suno"). |
music_chat
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 mu…
| Parameter | Type | Description |
|---|---|---|
message * | string | Message or revision instruction for the music model. |
conversation_id | Optional conversation ID from a previous music_generate/music_chat. | |
model | string | Music model ("lyria" or "suno"). |
music_stems
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. |
music_list
List the user's music tracks.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of recent music clips to return. |
music_get
Get metadata for a single music track.
| Parameter | Type | Description |
|---|---|---|
clip_id * | string | Music clip UUID from music_generate or music_list. |
music_download
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. |
music_credits
Check remaining flowmusic credits and subscription tier.
generate_scene
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 t…
| Parameter | Type | Description |
|---|---|---|
camera_id * | string | Camera ID defined inside scene_layout to render from. |
scene_layout * | object | 3D scene layout dict (objects, positions, cameras, lights). |
aspect | string | Aspect ratio ("LANDSCAPE" or "PORTRAIT"). |
background | string | Control image background ("dark" or "light"). |
calibration | boolean | Return calibration/debug metadata without or alongside rendering. |
control_png | boolean | Include the rendered wireframe control PNG in the result. |
depth | boolean | Include depth cues in the control layout. |
extra | string | Additional prompt instructions appended to the scene description. |
image_inputs | Optional Flow mediaIds for reference/editing. | |
project_id | Optional Flow project UUID; omit to use the account default. | |
seed | Optional integer RNG seed for reproducible output. | |
style | string | Visual rendering style description. |
generate_video
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 r…
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Text prompt describing what to generate. |
aspect | string | Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT). |
beats | Optional number of beats/segments for multi-beat video generation. | |
idempotency_key | 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. |
project_id | Optional Flow project UUID; omit to use the account default. | |
seed | Optional integer RNG seed for reproducible output. | |
video_model_key | string | Text-to-video model key (e.g. abra_t2v_lite, veo_3_1_t2v). |
voice | Optional Gemini TTS voice name from list_voices() (e.g. Algieba, Aoede). | |
voice_style | Optional voice delivery hint (e.g. "warm", "whisper"). | |
voice_text | Optional spoken text for voiceover/narration; defaults to prompt if omitted. |
edit_video
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…
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Instructions describing how to modify the source video. |
aspect | string | Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT). |
end_sec | Optional edit end timestamp in seconds. | |
include_preview | boolean | Include an inline image/frame preview in the tool response. |
media_id | Media UUID of a previously generated Flow video (use this or video_base64). | |
reference_images_base64 | Optional list of base64-encoded reference images (no data: prefix). | |
seed | Optional integer RNG seed for reproducible output. | |
start_sec | Optional edit start timestamp in seconds. | |
video_base64 | Base64-encoded MP4 bytes of a source video (use this or media_id). | |
video_model_key | string | Video edit model key (e.g. abra_edit_lite). |
recast_video
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 mos…
| Parameter | Type | Description |
|---|---|---|
character * | string | Registered character name from list_characters() to place into the video. |
aspect | string | Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT). |
end_sec | Optional segment end timestamp in seconds. | |
extra | string | Additional prompt details appended to the recast instruction. |
final | boolean | True for higher-quality final pass; False for fast preview. |
include_preview | boolean | Include an inline image/frame preview in the tool response. |
media_id | Media UUID of a prior Flow video (use this or video_base64). | |
scene | string | Optional scene/action override description. |
seed | Optional integer RNG seed for reproducible output. | |
start_sec | Optional segment start timestamp in seconds. | |
video_base64 | Base64-encoded MP4 bytes of a source video (use this or media_id). | |
who | string | Description of the person in the source video to replace. |
extend_video
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…
| Parameter | Type | Description |
|---|---|---|
media_id * | string | Media UUID of the existing Flow video to extend. |
prompt * | string | Prompt describing what happens next in the continuation. |
aspect | string | Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT). |
include_preview | boolean | Include an inline image/frame preview in the tool response. |
project_id | Optional Flow project UUID; omit to use the account default. | |
seed | Optional integer RNG seed for reproducible output. | |
video_model_key | string | Video extension model key (e.g. abra_ext_lite). |
generate_video_between_frames
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_inte…
| Parameter | Type | Description |
|---|---|---|
end_image_base64 * | string | Base64-encoded ending frame image (no data: prefix). |
prompt * | string | Text prompt describing what to generate. |
start_image_base64 * | string | Base64-encoded starting frame image (no data: prefix). |
aspect | string | Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT). |
beats | Optional number of beats/segments for multi-beat video generation. | |
include_preview | boolean | Include an inline image/frame preview in the tool response. |
project_id | Optional Flow project UUID; omit to use the account default. | |
seed | Optional integer RNG seed for reproducible output. | |
video_model_key | string | First/last frame video model key (e.g. abra_fl_lite). |
generate_video_from_image
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 medi…
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Text prompt describing what to generate. |
aspect | string | Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT). |
beats | Optional number of beats/segments for multi-beat video generation. | |
frame | string | When start_media_id is a video, extract "first" or "last" frame. |
include_preview | boolean | Include an inline image/frame preview in the tool response. |
project_id | Optional Flow project UUID; omit to use the account default. | |
seed | Optional integer RNG seed for reproducible output. | |
start_image_base64 | Base64-encoded starting frame image (use this or start_media_id). | |
start_media_id | Media UUID of a prior Flow image or video to use as starting frame (use this or start_image_base64). | |
video_model_key | string | Image-to-video model key (e.g. abra_i2v_lite, veo_3_1_i2v_s_fast_fl). |
voice | Optional Gemini TTS voice name from list_voices() (e.g. Algieba, Aoede). | |
voice_style | Optional voice delivery hint (e.g. "warm", "whisper"). | |
voice_text | Optional spoken text for voiceover/narration; defaults to prompt if omitted. |
generate_video_with_reference
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…
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Text prompt describing what to generate. |
reference_images_base64 * | array | List of 1-3 base64-encoded character/subject reference images (no data: prefix). |
aspect | string | Video aspect ratio (VIDEO_ASPECT_RATIO_LANDSCAPE or VIDEO_ASPECT_RATIO_PORTRAIT). |
entity_id | Optional character entityId to attach its saved voice for lip-sync (requires veo_3_1_r2v_lite). | |
include_preview | boolean | Include an inline image/frame preview in the tool response. |
project_id | Optional Flow project UUID; omit to use the account default. | |
seed | Optional integer RNG seed for reproducible output. | |
video_model_key | string | Reference-to-video model key (e.g. abra_r2v_lite, veo_3_1_r2v_lite). |
voice | Optional Gemini TTS voice name from list_voices() (e.g. Algieba, Aoede). | |
voice_style | Optional voice delivery hint (e.g. "warm", "whisper"). | |
voice_text | Optional spoken text for voiceover/narration; defaults to prompt if omitted. |
generate_character_image
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…
| Parameter | Type | Description |
|---|---|---|
character_slot_index * | integer | Target character slot: 0 for portrait, 1 for full body. |
entity_id * | string | Flow character entityId (from create_character or list_characters). |
prompt * | string | Text prompt describing what to generate. |
account | Optional Google account email owning the entity; omit to auto-resolve. | |
aspect | string | Image aspect ratio (IMAGE_ASPECT_RATIO_LANDSCAPE or IMAGE_ASPECT_RATIO_PORTRAIT). |
model | string | Image model key (e.g. BELUGA, NARWHAL, HARBOR_SEAL). |
create_character
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 gener…
| Parameter | Type | Description |
|---|---|---|
account * | string | Google account email from your pool that owns this resource. |
create_character_from_photo
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 b…
| Parameter | Type | Description |
|---|---|---|
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 | Optional base64-encoded full-body photo (no data: prefix). | |
name | Optional registry name to save the character under for future lookup. | |
physical_description | Optional physical appearance notes stored on the character. |
create_character_from_description
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 t…
| Parameter | Type | Description |
|---|---|---|
account * | string | Google account email from your pool that owns this resource. |
description * | string | Visual description used to generate and store the character. |
name * | string | Unique registry name for this character. |
aspect | string | Image aspect ratio (IMAGE_ASPECT_RATIO_LANDSCAPE or IMAGE_ASPECT_RATIO_PORTRAIT). |
display_name | Optional display name in Flow UI; defaults to name. | |
model | string | Image model key (e.g. BELUGA, NARWHAL, HARBOR_SEAL). |
portrait_prompt | Optional custom prompt for the initial portrait generation. |
list_characters
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 —…
generate_character_turnaround
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…
| 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). |
character_slot_index | integer | Target character slot (usually 1 for body turnaround). |
outfit_description | string | Outfit description for the turnaround sheet. |
generate_character_expression_sheet
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…
| 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). |
character_slot_index | integer | Target character slot (usually 0 for portrait expressions). |
expressions | Optional list of facial expressions to render. |
create_project
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.20…
| Parameter | Type | Description |
|---|---|---|
account * | string | Google account email from your pool that owns this resource. |
name | Optional project title; auto-generated if omitted. |
generate_voice
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…
| Parameter | Type | Description |
|---|---|---|
text * | string | Speech text to synthesize. |
idempotency_key | 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. |
project_id | Optional Flow project UUID; omit to use the account default. | |
style | string | Optional delivery instruction (e.g. "calm, slow"). |
voice | string | Gemini TTS preset voice name from list_voices(). |
set_character_voice
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…
| Parameter | Type | Description |
|---|---|---|
account * | string | Google account email from your pool that owns this resource. |
character_id * | string | Flow character entityId from create_character or create_character_from_photo. |
project_id | Optional Flow project UUID; omit to use the account default. | |
sample_text | Optional sample sentence to synthesize as the voice reference. | |
style | string | Optional delivery instruction (e.g. "calm, slow"). |
voice | string | Gemini TTS preset voice name from list_voices(). |
list_voices
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.
check_credits
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 | Optional Google account email; omit to check all your connected accounts. |
flow_dashboard
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.
update_character
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 | New display name for the character in Flow. | |
personality_notes | Personality/background notes stored on the character. |
upscale_image
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 sour…
| 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"). |
upscale_video
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…
| 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. |
aspect | Optional output aspect ratio. | |
target_resolution | string | Target resolution ("1080P" or "4K"). |
check_job
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:…
| 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. |
fetch_media
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 to…
| Parameter | Type | Description |
|---|---|---|
path * | string | Media download_path or filename (e.g. "/v1/media/<uuid>.jpg"). |
force_bytes | boolean | Return base64 bytes inline instead of only URL/preview. |
max_kb | integer | Maximum inline preview size in KB. |
add_account_token
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…
| Parameter | Type | Description |
|---|---|---|
email * | string | Google account email address. |
oauth_token * | string | Google OAuth master token (aas_et/...) or refresh token. |
reset_day | integer | Day of month (1-31) when monthly credits reset, or 0 if unknown. |
contact_support
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 |
|---|---|---|
message * | string | Message or bug report to send to the operator. |
context | Optional context such as job_id or error details. |
support_replies
Your support thread, including operator replies (from a human, usually within hours). `since` is a unix timestamp: only newer messages.
| Parameter | Type | Description |
|---|---|---|
since | Optional Unix timestamp; return only replies after this time. |
add_antigravity_start
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.
add_antigravity_submit
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_…
| 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. |
complete_antigravity_account
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. |
list_llm_accounts
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. |
flow_status
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 op…
flow_health
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.
list_live_models
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). R…
list_models
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, credit…
chat_gemini_pro
Запрос к Gemini 3 Pro через вашу подписку Google AI Pro. Использует ваш подключённый Google-аккаунт (подключите на /connect-google). Расходует вашу квоту Google, не наши токены. Args: messages: список {"role": "user|assistant", "content": "..."}. system: системный промпт (опционально). max_tokens: максимальное количество токенов в ответе (по умолчанию 65536 â…
| Parameter | Type | Description |
|---|---|---|
messages * | array | Conversation turns, list of {"role": "user"|"assistant", "content": "..."}. |
account_email | Pin to a specific connected Google account email from your pool. | |
account_tag | Pin to accounts with this tag (round-robin within the subset). | |
max_tokens | integer | Max output tokens (1..65536; thinking tokens count toward this limit). |
system | Optional system prompt. | |
thinking_budget | Optional thinking token budget: 0 to disable, -1 dynamic, N upper cap. | |
thinking_level | Optional thinking level ("low", "medium", "high", or "xhigh" on Hydrogen). Overrides thinking_budget. |
chat_gemini_flash
Быстрый и дешёвый Gemini 3 Flash — для коротких запросов, классификации, извлечения полей из текста. Идёт в вашу подписку Google, наши токены не тратит. Args: messages: список {"role": "user|assistant", "content": "..."}. system: системный промпт (опционально). max_tokens: максимальное количество токенов в ответе (по умолчанию 65536 — максимум моÐ…
| Parameter | Type | Description |
|---|---|---|
messages * | array | Conversation turns, list of {"role": "user"|"assistant", "content": "..."}. |
account_email | Pin to a specific connected Google account email from your pool. | |
account_tag | Pin to accounts with this tag (round-robin within the subset). | |
max_tokens | integer | Max output tokens (1..65536; thinking tokens count toward this limit). |
system | Optional system prompt. | |
thinking_budget | Optional thinking token budget: 0 to disable, -1 dynamic, N upper cap. | |
thinking_level | Optional thinking level ("low", "medium", "high", or "xhigh" on Hydrogen). Overrides thinking_budget. |
chat_claude_sonnet
Запрос к Claude Sonnet 4.6 через вашу подписку Anthropic (если подключена) или через подписку Google (Vertex). Поддерживает инструменты (tool_use). Args: messages: список {"role": "user|assistant", "content": "..."}. system: системный промпт (опционально). max_tokens: максимальное количество токенов в ответе. tools: описание инструментов в формате Anthropic to…
| Parameter | Type | Description |
|---|---|---|
messages * | array | Conversation turns, list of {"role": "user"|"assistant", "content": "..."}. |
account_email | Pin to a specific connected Google account email from your pool. | |
account_tag | Pin to accounts with this tag (round-robin within the subset). | |
max_tokens | integer | Max output tokens in the response. |
system | Optional system prompt. | |
tools | Optional Anthropic tool_use tool definitions. |
chat_gemini_argon
Запрос к Gemini 4 Argon (medium) через вашу подписку Google AI Pro. Самая новая линейка Gemini. Требует аккаунт, которому Argon открыт: если Google отвечает 404 на модель, у подключённого аккаунта нет доступа — смотрите list_available_llm и переключайтесь через account_email. Args: messages: список {"role": "user|assistant", "content": "..."}. system: системный промпт…
| Parameter | Type | Description |
|---|---|---|
messages * | array | Conversation turns, list of {"role": "user"|"assistant", "content": "..."}. |
account_email | Pin to a specific connected Google account email from your pool. | |
account_tag | Pin to accounts with this tag (round-robin within the subset). | |
max_tokens | integer | Max output tokens (1..65536; thinking tokens count toward this limit). |
system | Optional system prompt. | |
thinking_budget | Optional thinking token budget: 0 to disable, -1 dynamic, N upper cap. | |
thinking_level | Optional thinking level ("low", "medium", "high", or "xhigh" on Hydrogen). Overrides thinking_budget. |
chat_gemini_carbon
Запрос к Gemini 4 Carbon (medium) через вашу подписку Google AI Pro. Средняя линейка Gemini 4: дешевле и быстрее Hydrogen при похожем качестве на коротких задачах. Как и остальные Gemini 4, требует аккаунт, которому Carbon открыт: 404 от Google значит, что у подключённого аккаунта доступа нет — смотрите list_available_llm и переключайтесь через account_email.…
| Parameter | Type | Description |
|---|---|---|
messages * | array | Conversation turns, list of {"role": "user"|"assistant", "content": "..."}. |
account_email | Pin to a specific connected Google account email from your pool. | |
account_tag | Pin to accounts with this tag (round-robin within the subset). | |
max_tokens | integer | Max output tokens (1..65536; thinking tokens count toward this limit). |
system | Optional system prompt. | |
thinking_budget | Optional thinking token budget: 0 to disable, -1 dynamic, N upper cap. | |
thinking_level | Optional thinking level ("low", "medium", "high", or "xhigh" on Hydrogen). Overrides thinking_budget. |
chat_gemini_hydrogen
Запрос к Gemini 4 Hydrogen (medium) через вашу подписку Google AI Pro. Старшая линейка Gemini 4: до 262144 токенов выхода у самой модели, есть уровень размышления `xhigh` (`gemini-4-hydrogen-xhigh`). Требует аккаунт, которому Hydrogen открыт: 404 от Google значит, что у подключённого аккаунта доступа нет — смотрите list_available_llm и переключайтесь через account_emai…
| Parameter | Type | Description |
|---|---|---|
messages * | array | Conversation turns, list of {"role": "user"|"assistant", "content": "..."}. |
account_email | Pin to a specific connected Google account email from your pool. | |
account_tag | Pin to accounts with this tag (round-robin within the subset). | |
max_tokens | integer | Max output tokens (1..65536; thinking tokens count toward this limit). |
system | Optional system prompt. | |
thinking_budget | Optional thinking token budget: 0 to disable, -1 dynamic, N upper cap. | |
thinking_level | Optional thinking level ("low", "medium", "high", or "xhigh" on Hydrogen). Overrides thinking_budget. |
chat_claude_opus
Запрос к Claude Opus 5.5 (medium) — сильная модель для сложных задач. Поддерживает tool_use. Если модель не отдаётся, у аккаунта нет доступа — проверьте list_available_llm. Args: messages: список {"role": "user|assistant", "content": "..."}. system: системный промпт (опционально). max_tokens: максимальное количество токенов в ответе. tools: описание…
| Parameter | Type | Description |
|---|---|---|
messages * | array | Conversation turns, list of {"role": "user"|"assistant", "content": "..."}. |
account_email | Pin to a specific connected Google account email from your pool. | |
account_tag | Pin to accounts with this tag (round-robin within the subset). | |
max_tokens | integer | Max output tokens in the response. |
system | Optional system prompt. | |
tools | Optional Anthropic tool_use tool definitions. |
chat_claude_sonnet_55
Запрос к 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-аккаунт.…
| Parameter | Type | Description |
|---|---|---|
messages * | array | Conversation turns, list of {"role": "user"|"assistant", "content": "..."}. |
account_email | Pin to a specific connected Google account email from your pool. | |
account_tag | Pin to accounts with this tag (round-robin within the subset). | |
max_tokens | integer | Max output tokens in the response. |
system | Optional system prompt. | |
tools | Optional Anthropic tool_use tool definitions. |
list_available_llm
Какие LLM-модели доступны этому ключу прямо сейчас, и какая у ключа квота. Делает два параллельных запроса: GET /llm/models (OmniRoute — список моделей и подключённых Google-аккаунтов) и GET /v1/me (openFlow — plan + квоты). ETag от /v1/me держится OmniRoute'ом в кэше ~5 минут; force_refresh=True добавляет Cache-Control: no-cache, чтобы заставить обновить. Returns:…
| Parameter | Type | Description |
|---|---|---|
force_refresh | boolean | True bypasses OmniRoute 5-minute ETag cache via Cache-Control: no-cache. |
refresh_llm_models
Получить актуальный список LLM-моделей из каталога OmniRoute. OmniRoute сам опрашивает Google раз в час; `force_live=True` просит релей сходить в Google прямо сейчас (жёсткий rate-limit на стороне релея: не чаще 10 секунд). Полезно, когда клиент видит 404 на недавно добавленную модель. Args: force_live: True — передать `?live=1` на /v1/models и дождатÑ…
| Parameter | Type | Description |
|---|---|---|
force_live | boolean | True queries Google live (?live=1, rate-limited to 10s); False returns cached catalog. |