Skip to main content
Glama

Submit image generation

generate_image
Destructive

Submit a paid image generation request to fal.ai by providing an exact model ID and validated input. Returns a receipt; requires confirmation before charging.

Instructions

Confirmed paid model request after current native input-schema validation. Exact model_id/input required; image/video commands do not invent fields or choose a default. Queue submissions return receipt only; synchronous timeout may leave an unknown paid outcome. No retry or polling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesExact native model inputs. Fetched current model JSON schema validates these before a paid request; no guessed prompt/image/duration adapters.
accountNoExact configured isolated API-key profile label.
confirmNoSet true only when the user asked for exactly this action.
model_idYesExact current catalog endpoint ID. Never guess model names or parameter mappings.
store_ioNoLocal default false sends X-Fal-Store-IO:0. true allows provider JSON payload storage; CDN media retention/ACL is separate.
lifecycleNoNative CDN expiry/ACL preference. Omit to use account defaults. null expiration means no expiry; default CDN access may be public. Unknown nicknames may be dropped by provider.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.1
    • changedInput schema / properties / confirm / description
      Previous value: -"Explicit approval for the requested paid work, mutation, upload or private file."New value: +"Set true only when the user asked for exactly this action."
  2. First observedv2.0.0

TDQS

B3.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so safety is partly covered. The description adds genuinely new context: queue submissions return a receipt only, a synchronous timeout can leave an unknown paid outcome, and there is no retry or polling. This paid-outcome and no-retry disclosure is valuable beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and kept to a few dense sentences with no filler. The opening clause 'after current native input-schema validation' is somewhat opaque, but overall it is tight and earns its length.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no output schema and nested parameters, the description covers the key unknowns: paid cost, receipt-only returns for queued work, unknown outcome on synchronous timeout, and no retry/polling. Remaining gaps (auth/profile requirements, what a receipt contains) are minor.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all six parameters including model_id, input, confirm, and lifecycle. The description reinforces the exactness requirement for model_id/input but adds no syntax, format, or defaulting detail beyond what the schema already states. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The name and title establish image generation, and the description frames it as a 'confirmed paid model request' requiring exact model_id/input. However, the phrasing is jargon-heavy and it lumps 'image/video commands' together, giving no explicit differentiation from close siblings like generate_video, run_model, or submit_job.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implies the tool should only be invoked after confirmation ('Confirmed paid model request'), which is a real precondition. It does not, however, name alternatives or say when to prefer this over submit_job, run_model, or submit_generation_batch, leaving routing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.