{"tools":[{"name":"list_models","title":"List AI models","description":"Browse FunAI's model catalogue (hundreds of image, video, audio, 3D and text models), with price per run in credits and US dollars, maker, capabilities and limits. Filter by model_type, task (e.g. upscale, lip-sync), maker or a text query; page with cursor. Offer models to the person by name and price, and pass the chosen model's name to the generate tools or run_model; never ask the person for an id. Only models with an active provider are listed.","inputSchema":{"type":"object","properties":{"model_type":{"type":"string","enum":["text_to_text","text_to_image","text_to_video","text_to_audio","image_to_text","image_to_image","image_to_video","image_to_audio","video_to_text","video_to_image","video_to_video","video_to_audio","audio_to_text","audio_to_image","audio_to_video","audio_to_audio","text_to_3d","image_to_3d","3d_to_3d"],"description":"Filter to one modality, e.g. text_to_image or image_to_video."},"query":{"type":"string","description":"Free-text search over model names."},"task":{"type":"string","description":"Filter by task slug, e.g. upscale, lip-sync, face-swap, try-on."},"maker":{"type":"string","description":"Filter by maker, e.g. google, openai, kling."},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","description":"next_cursor from a previous list_models call, to fetch the next page."}},"additionalProperties":false},"annotations":{"title":"List AI models","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"read","funai/free":true},"outputSchema":{"type":"object","properties":{"models":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":["string","null"]},"name":{"type":["string","null"]},"model_type":{"type":["string","null"]},"price":{"anyOf":[{"type":"object","properties":{"min_credits":{"type":["number","null"]},"max_credits":{"type":["number","null"]},"display":{"type":["string","null"]},"usd_min":{"type":["number","null"]},"usd_max":{"type":["number","null"]}}},{"type":"null"}]},"url":{"type":["string","null"]}}}},"count":{"type":"integer"},"total":{"type":["integer","null"]},"next_cursor":{"type":["string","null"]}},"required":["models","count"]}},{"name":"get_model_schema","title":"Get a model's inputs","description":"Everything a model accepts, as JSON Schema per workflow such as text_to_video or image_to_video. It covers required fields, enums such as aspect_ratio or resolution, numeric bounds and which inputs are image/video/audio files. Includes the price and a ready-to-use run_model example. Call this before run_model, or when a generate tool rejects an input.","inputSchema":{"type":"object","properties":{"model":{"type":"string","minLength":1,"description":"The model, by name (as the person said it or list_models shows it). Never ask the person for an id."},"model_id":{"type":"string","description":"Same as model (kept for older clients)."},"workflow":{"type":"string","description":"Only this workflow, e.g. image_to_video. Omit for every workflow the model supports."}},"additionalProperties":false},"annotations":{"title":"Get a model's inputs","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"read","funai/free":true},"outputSchema":{"type":"object","properties":{"model":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":["string","null"]},"model_type":{"type":["string","null"]}}},"price":{"anyOf":[{"type":"object","properties":{"min_credits":{"type":["number","null"]},"max_credits":{"type":["number","null"]},"display":{"type":["string","null"]},"usd_min":{"type":["number","null"]},"usd_max":{"type":["number","null"]}}},{"type":"null"}]},"capabilities":{"type":"array","items":{"type":"object","properties":{"workflow":{"type":["string","null"]},"workflow_variant":{"type":["string","null"]},"is_primary":{"type":["boolean","null"]},"input_schema":{"type":"object"}}}},"example":{"type":["object","null"]}},"required":["model","capabilities"]}},{"name":"estimate_cost","title":"Estimate generation cost","description":"Estimate the credit cost of a generation before running it. Uses the same pricing path as the real generation, so the number matches what will be charged.","inputSchema":{"type":"object","properties":{"model":{"type":"string","description":"The model, by name (as the person said it or list_models shows it). Never ask the person for an id."},"model_id":{"type":"string","description":"Same as model (kept for older clients)."},"workflow":{"type":"string","description":"Workflow to price, e.g. text_to_image. Defaults to the model's own type."},"duration":{"type":"number","minimum":0,"description":"Requested output seconds. Required for per-second-billed video models."},"char_count":{"type":"integer","minimum":0,"description":"Input character count, for text-to-speech estimates."}},"additionalProperties":false},"annotations":{"title":"Estimate generation cost","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"read","funai/free":true}},{"name":"get_credit_balance","title":"Check credit balance","description":"Check the credit balance of the account this connection authenticates as. Use before an expensive generation to confirm there are enough credits.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"annotations":{"title":"Check credit balance","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"account:read","funai/free":true}},{"name":"list_tools","title":"List FunAI Tools","description":"List FunAI's one-shot Tools (face swap, upscale, background removal, product shots, lip sync, ...). Each comes with a model already chosen; run one with run_tool. Paged: pass next_cursor to continue.","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Search tool names and descriptions, e.g. 'face swap', 'upscale'."},"category_id":{"type":"string","description":"Filter to one tool category."},"cursor":{"type":"string","description":"next_cursor from a previous call."},"limit":{"type":"integer","minimum":1,"maximum":50,"default":20}},"additionalProperties":false},"annotations":{"title":"List FunAI Tools","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"read","funai/free":true},"outputSchema":{"type":"object","properties":{"tools":{"type":"array","items":{"type":"object"}},"count":{"type":"integer"},"next_cursor":{"type":["string","null"]}},"required":["tools"]}},{"name":"list_templates","title":"List templates","description":"List ready-made templates: a look or format with the prompt already written. Each lists the slots you fill (a photo, a product name, a style choice); fill them and call apply_template. Paged: pass next_cursor to continue.","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Search template names, e.g. 'product shot', 'anime'."},"tool_slug":{"type":"string","description":"Only templates for this tool (from list_tools)."},"media_type":{"type":"string","enum":["image","video","audio","3d","text"]},"cursor":{"type":"string","description":"next_cursor from a previous call."},"limit":{"type":"integer","minimum":1,"maximum":50,"default":20}},"additionalProperties":false},"annotations":{"title":"List templates","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"read","funai/free":true},"outputSchema":{"type":"object","properties":{"templates":{"type":"array","items":{"type":"object"}},"count":{"type":"integer"},"total":{"type":["integer","null"]},"next_cursor":{"type":["string","null"]}},"required":["templates"]}},{"name":"upload_file","title":"Upload a file","description":"Bring an image, video, audio or 3D file into FunAI to use as a generation input (image-to-video, edits, upscale, face swap, lip sync...). A public https URL needs no upload: pass it straight to generate_*, run_model or run_tool. Otherwise give filename, mime_type and size_bytes to get a single-use upload_url, then PUT the bytes there (clients with a shell: curl -X PUT --data-binary @file -H 'Content-Type: ...' <upload_url>); the PUT answers with the file_url. Tiny files can be sent inline as content_base64 instead. Uploaded files stay private to this account. Free, but counts toward the account's storage.","inputSchema":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"description":"File name, with extension, e.g. 'face.jpg'."},"mime_type":{"type":"string","description":"e.g. image/jpeg, video/mp4, audio/mpeg, model/gltf-binary."},"size_bytes":{"type":"integer","minimum":1,"description":"Size of the file. Gives back an upload_url to PUT the bytes to (preferred)."},"content_base64":{"type":"string","description":"Small files only (under ~700 KB): the bytes, base64-encoded. Stored immediately."}},"required":["filename","mime_type"],"additionalProperties":false},"annotations":{"title":"Upload a file","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"generate","funai/free":true},"outputSchema":{"type":"object","properties":{"mode":{"type":"string","enum":["inline","presigned"]},"upload_url":{"type":"string"},"file_id":{"type":"string"},"file_url":{"type":"string"},"expires_in":{"type":"integer"}},"required":["mode"]}},{"name":"generate_image","title":"Generate an image","description":"Generate an image from a text prompt, or edit one (image_url, mask_url, image_urls for references). Spends the caller's credits — call estimate_cost first if the cost matters. Fast models return a URL immediately; slower ones return a job_id to poll with get_job_status. A finished image comes back attached to the result, so show it rather than telling the user to open the link; the link is there to open the file in FunAI. Media inputs (image_url, video_url, ...) must be public https URLs or a file_url from upload_file; with one, the tool offers models that accept it if none was named. Model-specific options go in params. Results are published: the returned link needs no sign-in, does not expire, and can be shared with anyone. Pass private=true to keep one unshared.","inputSchema":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"description":"What to generate."},"model":{"type":"string","description":"The model to use, by the name the person knows it by (e.g. 'Kling 2.1', 'Flux Pro') or as list_models shows it. Never ask the person for an id: offer models by name and price. Leave it out to use FunAI's default (with a media input, the tool offers suitable models instead)."},"model_id":{"type":"string","description":"Same as model (kept for older clients)."},"seed":{"type":"integer","description":"Fix for reproducible output."},"private":{"type":"boolean","default":false,"description":"Keep this result private. Generations made through this connector are published by default so their link can be shared with anyone; set this only when the user asks for something not to be shareable."},"negative_prompt":{"type":"string","description":"What to avoid."},"width":{"type":"integer","minimum":256,"maximum":2048,"default":1024},"height":{"type":"integer","minimum":256,"maximum":2048,"default":1024},"image_url":{"type":"string","format":"uri","description":"Input image (edit, image-to-video, image-to-3D...). Public https URL, or a file_url from upload_file."},"image_urls":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":16,"description":"Several input / reference images, for models that take more than one. Public https URL, or a file_url from upload_file."},"mask_url":{"type":"string","format":"uri","description":"Mask for inpainting (white = change). Public https URL, or a file_url from upload_file."},"aspect_ratio":{"type":"string","description":"e.g. 16:9, 9:16, 1:1 - only values the model lists in get_model_schema."},"resolution":{"type":"string","description":"e.g. 720p, 1080p, 1K, 2K - only values the model lists in get_model_schema."},"params":{"type":"object","description":"Model-specific extra inputs by their field name (see get_model_schema), e.g. {\"guidance_scale\": 4}. Forwarded to the model as-is."}},"required":["prompt"],"additionalProperties":false},"annotations":{"title":"Generate an image","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"generate","funai/free":false},"outputSchema":{"type":"object","properties":{"job_id":{"type":["string","null"]},"status":{"type":["string","null"]},"modality":{"type":["string","null"]},"output_url":{"type":["string","null"]},"estimated_completion_seconds":{"type":["number","null"]},"is_public":{"type":"boolean"}},"required":["job_id","status"]}},{"name":"generate_video","title":"Generate a video","description":"Generate a video from a text prompt, or animate an image (image_url / start_frame_url, end_frame_url), restyle a video (video_url) or lip-sync to audio (audio_url). Spends the caller's credits, and video is the most expensive modality, so tell the person the price first. Needs a model: call it without one to get a few options (names and prices) to offer the person, or pass the name they chose. Returns a job_id; follow it with get_job_status, which typically takes minutes. Media inputs (image_url, video_url, ...) must be public https URLs or a file_url from upload_file; with one, the tool offers models that accept it if none was named. Model-specific options go in params. Results are published: the returned link needs no sign-in, does not expire, and can be shared with anyone. Pass private=true to keep one unshared.","inputSchema":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"description":"What to generate."},"model":{"type":"string","description":"The model to use, by the name the person knows it by (e.g. 'Kling 2.1', 'Flux Pro') or as list_models shows it. Never ask the person for an id: offer models by name and price. If you leave it out, the tool answers with a few suitable models (names and prices) to offer the person; nothing is charged."},"model_id":{"type":"string","description":"Same as model (kept for older clients)."},"seed":{"type":"integer","description":"Fix for reproducible output."},"private":{"type":"boolean","default":false,"description":"Keep this result private. Generations made through this connector are published by default so their link can be shared with anyone; set this only when the user asks for something not to be shareable."},"negative_prompt":{"type":"string","description":"What to avoid."},"duration":{"type":"integer","minimum":1,"maximum":60,"description":"Output length in seconds. Many video models bill per second."},"image_url":{"type":"string","format":"uri","description":"Input image (edit, image-to-video, image-to-3D...). Public https URL, or a file_url from upload_file."},"image_urls":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":16,"description":"Several input / reference images, for models that take more than one. Public https URL, or a file_url from upload_file."},"start_frame_url":{"type":"string","format":"uri","description":"First frame of the video. Public https URL, or a file_url from upload_file."},"end_frame_url":{"type":"string","format":"uri","description":"Last frame, for models that interpolate between two frames. Public https URL, or a file_url from upload_file."},"video_url":{"type":"string","format":"uri","description":"Input video (video-to-video, lip sync, upscale...). Public https URL, or a file_url from upload_file."},"audio_url":{"type":"string","format":"uri","description":"Input audio (lip sync, voice conversion, transcription...). Public https URL, or a file_url from upload_file."},"aspect_ratio":{"type":"string","description":"e.g. 16:9, 9:16, 1:1 - only values the model lists in get_model_schema."},"resolution":{"type":"string","description":"e.g. 720p, 1080p, 1K, 2K - only values the model lists in get_model_schema."},"params":{"type":"object","description":"Model-specific extra inputs by their field name (see get_model_schema), e.g. {\"guidance_scale\": 4}. Forwarded to the model as-is."}},"required":["prompt"],"additionalProperties":false},"annotations":{"title":"Generate a video","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"generate","funai/free":false},"outputSchema":{"type":"object","properties":{"job_id":{"type":["string","null"]},"status":{"type":["string","null"]},"modality":{"type":["string","null"]},"output_url":{"type":["string","null"]},"estimated_completion_seconds":{"type":["number","null"]},"is_public":{"type":"boolean"}},"required":["job_id","status"]}},{"name":"generate_audio","title":"Generate audio","description":"Generate audio (speech, music or sound effects) from a text prompt, or transform audio (audio_url) or add sound to a video (video_url). Spends the caller's credits. Needs a model, because speech, music and sound-effect models take very different prompts: call it without one to get options (names and prices) to offer the person, or pass the name they chose. Media inputs (image_url, video_url, ...) must be public https URLs or a file_url from upload_file; with one, the tool offers models that accept it if none was named. Model-specific options go in params. Results are published: the returned link needs no sign-in, does not expire, and can be shared with anyone. Pass private=true to keep one unshared.","inputSchema":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"description":"What to generate."},"model":{"type":"string","description":"The model to use, by the name the person knows it by (e.g. 'Kling 2.1', 'Flux Pro') or as list_models shows it. Never ask the person for an id: offer models by name and price. If you leave it out, the tool answers with a few suitable models (names and prices) to offer the person; nothing is charged."},"model_id":{"type":"string","description":"Same as model (kept for older clients)."},"seed":{"type":"integer","description":"Fix for reproducible output."},"private":{"type":"boolean","default":false,"description":"Keep this result private. Generations made through this connector are published by default so their link can be shared with anyone; set this only when the user asks for something not to be shareable."},"duration":{"type":"integer","minimum":1,"maximum":600,"description":"Output length in seconds, where the model supports it."},"audio_url":{"type":"string","format":"uri","description":"Input audio (lip sync, voice conversion, transcription...). Public https URL, or a file_url from upload_file."},"video_url":{"type":"string","format":"uri","description":"Input video (video-to-video, lip sync, upscale...). Public https URL, or a file_url from upload_file."},"image_url":{"type":"string","format":"uri","description":"Input image (edit, image-to-video, image-to-3D...). Public https URL, or a file_url from upload_file."},"params":{"type":"object","description":"Model-specific extra inputs by their field name (see get_model_schema), e.g. {\"guidance_scale\": 4}. Forwarded to the model as-is."}},"required":["prompt"],"additionalProperties":false},"annotations":{"title":"Generate audio","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"generate","funai/free":false},"outputSchema":{"type":"object","properties":{"job_id":{"type":["string","null"]},"status":{"type":["string","null"]},"modality":{"type":["string","null"]},"output_url":{"type":["string","null"]},"estimated_completion_seconds":{"type":["number","null"]},"is_public":{"type":"boolean"}},"required":["job_id","status"]}},{"name":"generate_3d","title":"Generate a 3D model","description":"Generate a 3D mesh from a text prompt or from an image (image_url / image_urls). Spends the caller's credits. Needs a model: call it without one to get options (names and prices) to offer the person, or pass the name they chose. Returns a job_id to follow with get_job_status, or the call streams. Media inputs (image_url, video_url, ...) must be public https URLs or a file_url from upload_file; with one, the tool offers models that accept it if none was named. Model-specific options go in params. Results are published: the returned link needs no sign-in, does not expire, and can be shared with anyone. Pass private=true to keep one unshared.","inputSchema":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"description":"What to generate."},"model":{"type":"string","description":"The model to use, by the name the person knows it by (e.g. 'Kling 2.1', 'Flux Pro') or as list_models shows it. Never ask the person for an id: offer models by name and price. If you leave it out, the tool answers with a few suitable models (names and prices) to offer the person; nothing is charged."},"model_id":{"type":"string","description":"Same as model (kept for older clients)."},"seed":{"type":"integer","description":"Fix for reproducible output."},"private":{"type":"boolean","default":false,"description":"Keep this result private. Generations made through this connector are published by default so their link can be shared with anyone; set this only when the user asks for something not to be shareable."},"negative_prompt":{"type":"string","description":"What to avoid."},"image_url":{"type":"string","format":"uri","description":"Input image (edit, image-to-video, image-to-3D...). Public https URL, or a file_url from upload_file."},"image_urls":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":16,"description":"Several input / reference images, for models that take more than one. Public https URL, or a file_url from upload_file."},"params":{"type":"object","description":"Model-specific extra inputs by their field name (see get_model_schema), e.g. {\"guidance_scale\": 4}. Forwarded to the model as-is."}},"required":["prompt"],"additionalProperties":false},"annotations":{"title":"Generate a 3D model","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"generate","funai/free":false},"outputSchema":{"type":"object","properties":{"job_id":{"type":["string","null"]},"status":{"type":["string","null"]},"modality":{"type":["string","null"]},"output_url":{"type":["string","null"]},"estimated_completion_seconds":{"type":["number","null"]},"is_public":{"type":"boolean"}},"required":["job_id","status"]}},{"name":"generate_text","title":"Generate text","description":"Generate text from a prompt using a FunAI-hosted model, optionally about an image, video or audio (captioning, transcription). Spends the caller's credits. Most MCP clients already have their own model — reach for this only when you specifically want a FunAI-hosted one. Media inputs (image_url, video_url, ...) must be public https URLs or a file_url from upload_file; with one, the tool offers models that accept it if none was named. Model-specific options go in params. Results are published: the returned link needs no sign-in, does not expire, and can be shared with anyone. Pass private=true to keep one unshared.","inputSchema":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"description":"What to generate."},"model":{"type":"string","description":"The model to use, by the name the person knows it by (e.g. 'Kling 2.1', 'Flux Pro') or as list_models shows it. Never ask the person for an id: offer models by name and price. Leave it out to use FunAI's default (with a media input, the tool offers suitable models instead)."},"model_id":{"type":"string","description":"Same as model (kept for older clients)."},"seed":{"type":"integer","description":"Fix for reproducible output."},"private":{"type":"boolean","default":false,"description":"Keep this result private. Generations made through this connector are published by default so their link can be shared with anyone; set this only when the user asks for something not to be shareable."},"temperature":{"type":"number","minimum":0.0,"maximum":2.0},"max_tokens":{"type":"integer","minimum":1,"maximum":128000},"image_url":{"type":"string","format":"uri","description":"Input image (edit, image-to-video, image-to-3D...). Public https URL, or a file_url from upload_file."},"image_urls":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":16,"description":"Several input / reference images, for models that take more than one. Public https URL, or a file_url from upload_file."},"video_url":{"type":"string","format":"uri","description":"Input video (video-to-video, lip sync, upscale...). Public https URL, or a file_url from upload_file."},"audio_url":{"type":"string","format":"uri","description":"Input audio (lip sync, voice conversion, transcription...). Public https URL, or a file_url from upload_file."},"params":{"type":"object","description":"Model-specific extra inputs by their field name (see get_model_schema), e.g. {\"guidance_scale\": 4}. Forwarded to the model as-is."}},"required":["prompt"],"additionalProperties":false},"annotations":{"title":"Generate text","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"generate","funai/free":false},"outputSchema":{"type":"object","properties":{"job_id":{"type":["string","null"]},"status":{"type":["string","null"]},"modality":{"type":["string","null"]},"output_url":{"type":["string","null"]},"estimated_completion_seconds":{"type":["number","null"]},"is_public":{"type":"boolean"}},"required":["job_id","status"]}},{"name":"run_model","title":"Run any model","description":"Run any FunAI model with its full set of inputs - every option and media input it accepts, not just a prompt. Call get_model_schema first: inputs are validated against that schema before anything is charged. Spends the caller's credits (estimate_cost or the price in get_model_schema first if cost matters). Returns the result, or a job_id for get_job_status. Results are published with a shareable link unless private=true.","inputSchema":{"type":"object","properties":{"model":{"type":"string","minLength":1,"description":"The model, by the name the person knows it by or as list_models shows it. Never ask the person for an id; if the name matches several models the tool returns them to offer."},"model_id":{"type":"string","description":"Same as model (kept for older clients)."},"inputs":{"type":"object","description":"The model's inputs by field name, exactly as get_model_schema lists them for the workflow (prompt included when the model takes one). File inputs are public https URLs or file_url values from upload_file."},"workflow":{"type":"string","description":"Which of the model's workflows to run, e.g. image_to_video. Defaults to its primary one."},"workflow_variant":{"type":"string","description":"Variant of the workflow, when get_model_schema lists one."},"prompt":{"type":"string","description":"Shortcut for inputs.prompt."},"private":{"type":"boolean","default":false,"description":"Keep this result private. Results made through this connector are published by default so their link can be shared; set this when the user asks."}},"additionalProperties":false},"annotations":{"title":"Run any model","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"generate","funai/free":false},"outputSchema":{"type":"object","properties":{"job_id":{"type":["string","null"]},"status":{"type":["string","null"]},"modality":{"type":["string","null"]},"output_url":{"type":["string","null"]},"estimated_completion_seconds":{"type":["number","null"]},"is_public":{"type":"boolean"}},"required":["job_id","status"]}},{"name":"run_tool","title":"Run a FunAI Tool","description":"Run one of FunAI's Tools (from list_tools) on your inputs. Spends credits at the tool's price - call estimate_cost with the tool's model first if the cost matters. Image inputs are public https URLs or a file_url from upload_file. Returns a job_id; slow jobs are collected with get_job_status. Results are published: the returned link needs no sign-in and can be shared. Pass private=true to keep one unshared.","inputSchema":{"type":"object","properties":{"tool_slug":{"type":"string","minLength":1,"description":"Tool slug from list_tools, e.g. 'face-swap'."},"prompt":{"type":"string","description":"Text prompt, for tools that take one."},"inputs":{"type":"object","description":"The tool's inputs, keyed by the model's field names (see get_model_schema for the tool's model). Media inputs are public https URLs or a file_url from upload_file.","additionalProperties":true},"model":{"type":"string","description":"One of the tool's models, by name; omit for its default. Never ask the person for an id."},"model_id":{"type":"string","description":"Same as model (kept for older clients)."},"private":{"type":"boolean","default":false,"description":"Keep the result unshared."}},"required":["tool_slug"],"additionalProperties":false},"annotations":{"title":"Run a FunAI Tool","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"generate","funai/free":false},"outputSchema":{"type":"object","properties":{"job_id":{"type":["string","null"]},"status":{"type":["string","null"]},"modality":{"type":"string"},"output_url":{"type":["string","null"]},"estimated_completion_seconds":{"type":["number","null"]}}}},{"name":"apply_template","title":"Apply a template","description":"Generate from a template (from list_templates) by filling its slots. Spends credits. If a required slot is missing the call fails without charging and lists the slots. Returns a job_id; slow jobs are collected with get_job_status. Results are published: the returned link needs no sign-in and can be shared. Pass private=true to keep one unshared.","inputSchema":{"type":"object","properties":{"template_id":{"type":"string","minLength":1,"description":"Template id from list_templates."},"slot_values":{"type":"object","description":"Values for the template's slots, keyed by slot key. Image slots take a public https URL or an upload_file file_url.","additionalProperties":true},"model":{"type":"string","description":"Model to run it on, by name; omit to use the template's best compatible model. Never ask the person for an id."},"model_id":{"type":"string","description":"Same as model (kept for older clients)."},"output_count":{"type":"integer","minimum":1,"maximum":8},"prompt":{"type":"string","description":"Extra prompt text, for templates that take one."},"private":{"type":"boolean","default":false,"description":"Keep the result unshared."}},"required":["template_id"],"additionalProperties":false},"annotations":{"title":"Apply a template","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"generate","funai/free":false},"outputSchema":{"type":"object","properties":{"job_id":{"type":["string","null"]},"status":{"type":["string","null"]},"modality":{"type":"string"},"output_url":{"type":["string","null"]},"estimated_completion_seconds":{"type":["number","null"]}}}},{"name":"get_job_status","title":"Check generation status","description":"Check a generation job started by a generate tool. Returns progress while running and the output URL(s) once complete; a finished image is attached to the result as well, so show it rather than telling the user to open the link. The link is published: it needs no sign-in, does not expire, and can be shared.","inputSchema":{"type":"object","properties":{"job_id":{"type":"string","minLength":1,"description":"job_id from a generate tool."}},"required":["job_id"],"additionalProperties":false},"annotations":{"title":"Check generation status","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"read","funai/free":true}},{"name":"list_generations","title":"List my generations","description":"List this account's generations, newest first, with status, prompt and a link to each result. Filter by media_type or tool_slug. Paged: pass next_cursor to continue.","inputSchema":{"type":"object","properties":{"media_type":{"type":"string","enum":["image","video","audio","3d","text"]},"tool_slug":{"type":"string","description":"Only generations made with this tool."},"cursor":{"type":"string","description":"next_cursor from a previous call."},"per_page":{"type":"integer","minimum":1,"maximum":50,"default":20}},"additionalProperties":false},"annotations":{"title":"List my generations","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"read","funai/free":true},"outputSchema":{"type":"object","properties":{"generations":{"type":"array","items":{"type":"object"}},"count":{"type":"integer"},"total":{"type":["integer","null"]},"next_cursor":{"type":["string","null"]}},"required":["generations"]}},{"name":"cancel_job","title":"Stop a generation","description":"Stop a generation. Free while it is still queued. If the provider already started it, stopping costs the full price (the result still arrives): this tool then reports the price instead of stopping - ask the person, and only call again with accept_charge=true if they agree.","inputSchema":{"type":"object","properties":{"job_id":{"type":"string","minLength":1,"description":"job_id of a running or queued generation."},"accept_charge":{"type":"boolean","default":false,"description":"Only after the person agreed: stop a job the provider already started, paying its full price (the result still arrives). Never set this on your own."}},"required":["job_id"],"additionalProperties":false},"annotations":{"title":"Stop a generation","readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"generate","funai/free":true},"outputSchema":{"type":"object","properties":{"job_id":{"type":"string"},"status":{"type":"string"},"cancelled":{"type":"boolean"},"needs_consent":{"type":"boolean"},"charge_credits":{"type":["number","null"]}},"required":["job_id","cancelled"]}},{"name":"editor_sessions","title":"Open editors","description":"List the FunAI video editors the user has open in the browser. Each is a live project that editor_run can change with the user's own commands. Nothing is spent.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"annotations":{"title":"Open editors","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"editor","funai/free":true}},{"name":"editor_commands","title":"Editor commands","description":"The commands an open editor offers (Editor API v1): clips, captions, transcript, transitions, AI tasks, motion titles, auto edit, history and playback, with their parameters. Times are seconds. Commands marked billed spend credits and need confirm: true in editor_run.","inputSchema":{"type":"object","properties":{"session_id":{"type":"string","description":"From editor_sessions; optional when one editor is open."},"group":{"type":"string","description":"Only this group, e.g. clips, captions, ai."}},"additionalProperties":false},"annotations":{"title":"Editor commands","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"editor","funai/free":true}},{"name":"editor_run","title":"Run an editor command","description":"Run one Editor API command in the user's open editor, exactly as if they had done it: it lands as one undo entry and the editor saves it. Use editor_commands for names and parameters. A billed command (AI task, transcription, translation) is refused unless confirm is true.","inputSchema":{"type":"object","properties":{"command":{"type":"string","minLength":1,"description":"Command name, e.g. \"clips.addText\"."},"args":{"type":"object","description":"Parameters by name; times in seconds."},"session_id":{"type":"string","description":"From editor_sessions; optional when one editor is open."},"confirm":{"type":"boolean","description":"Required true for a billed command."}},"required":["command"],"additionalProperties":false},"annotations":{"title":"Run an editor command","readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"editor","funai/free":false}},{"name":"render_project","title":"Render a project (headless)","description":"Render a saved editor project to a video file on the server, with no browser open. Without confirm it returns the price and what a basic server render drops (effects, keyframes, text animations; text, captions and crossfade transitions are rendered); with confirm: true it starts the render, which spends credits, and waits for the file URL.","inputSchema":{"type":"object","properties":{"project_id":{"type":"string","minLength":1,"description":"The editor project id."},"platform":{"type":"string","enum":["project","reels","shorts","tiktok","story","youtube","square"],"description":"Size preset; default the project's own size."},"format":{"type":"string","enum":["mp4","webm"],"description":"Default mp4."},"confirm":{"type":"boolean","description":"Required true to start a render; it spends credits."}},"required":["project_id"],"additionalProperties":false},"annotations":{"title":"Render a project (headless)","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"editor","funai/free":false}},{"name":"render_status","title":"Render status","description":"Status of a server render started by render_project, with the file URL once it is done.","inputSchema":{"type":"object","properties":{"project_id":{"type":"string","minLength":1,"description":"The project id."},"export_id":{"type":"string","minLength":1,"description":"From render_project."}},"required":["project_id","export_id"],"additionalProperties":false},"annotations":{"title":"Render status","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://funai.art/brand_favicon.svg","mimeType":"image/svg+xml","sizes":["any"]}],"_meta":{"funai/scope":"editor","funai/free":true}}]}