Skip to main content
Glama

fattly_generate_image

Generates an AI image from a prompt. Returns a link to the finished image. Credits are deducted from the user's account.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "prompt": "<prompt>"
    },
    "name": "fattly_generate_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoModel id (default nano-banana-2): nano-banana-2-edit, nano-banana-pro-edit, flux-3-edit, nano-banana-2, nano-banana-2-lite, nano-banana-pro, gpt-image-2, sd35-large, flux-2-pro, ideogram-v4, recraft-v4, recraft-v3, recraft-v3-edit, seedream-v5-pro, seedream-v5-lite, qwen-image, z-image, z-image-turbo, krea-v2, krea-v3, grok-imagine-image. Prices and capabilities: fattly_list_models.
promptYesDescription of the image to generate.
numImagesNoNumber of images 1–4 (default 1).
aspectRatioNoAspect ratio, e.g. 1:1, 16:9, 9:16 (default 1:1).
recraftStyleNoRecraft models only: base style, e.g. realistic_image or vector_illustration.
inputImageUrlNoOptional single input image for editing / face-swap models — must be a fal URL. Get one with fattly_upload_image.
inputImageUrlsNoOptional MULTIPLE input images (fal URLs) for multi-image edit models like nano-banana-2-edit / nano-banana-pro-edit. Typical swap use: image #1 = the scene/frame to keep (background, framing, lighting), image #2 = the subject/face to place into that scene. Get each URL from fattly_upload_image.
negativePromptNoWhat the image must NOT contain (models that support it; others ignore it).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / model / description
      Previous value: -"Model id (default nano-banana-2): nano-banana-2-edit, nano-banana-pro-edit, flux-3-edit, nano-banana-2, nano-banana-2-lite, nano-banana-pro, gpt-image-2, sd35-large, flux-2-pro, ideogram-v4, recraft-v4, recraft-v3, recraft-v3-edit, seedream-v5-pro, seedream-v5-lite, qwen-image, z-image, z-image-turbo, krea-v2, krea-v3. Prices and capabilities: fattly_list_models."New value: +"Model id (default nano-banana-2): nano-banana-2-edit, nano-banana-pro-edit, flux-3-edit, nano-banana-2, nano-banana-2-lite, nano-banana-pro, gpt-image-2, sd35-large, flux-2-pro, ideogram-v4, recraft-v4, recraft-v3, recraft-v3-edit, seedream-v5-pro, seedream-v5-lite, qwen-image, z-image, z-image-turbo, krea-v2, krea-v3, grok-imagine-image. Prices and capabilities: fattly_list_models."
  2. Changed1 schema field changed
    • changedInput schema / properties / model / description
      Previous value: -"Model id (default nano-banana-2): nano-banana-2-edit, nano-banana-pro-edit, flux-3-edit, nano-banana-2, nano-banana-2-lite, nano-banana-pro, gpt-image-2, sd35-large, flux-2-pro, ideogram-v4, recraft-v4, recraft-v3, recraft-v3-edit, seedream-v5-pro, seedream-v5-lite, qwen-image, z-image, z-image-turbo, krea-v2, krea-v3, grok-imagine-image. Prices and capabilities: fattly_list_models."New value: +"Model id (default nano-banana-2): nano-banana-2-edit, nano-banana-pro-edit, flux-3-edit, nano-banana-2, nano-banana-2-lite, nano-banana-pro, gpt-image-2, sd35-large, flux-2-pro, ideogram-v4, recraft-v4, recraft-v3, recraft-v3-edit, seedream-v5-pro, seedream-v5-lite, qwen-image, z-image, z-image-turbo, krea-v2, krea-v3. Prices and capabilities: fattly_list_models."
  3. Changed3 schema fields changed
    • changedInput schema / properties / model / description
      Previous value: -"Model id (default nano-banana-2). List: fattly_list_models."New value: +"Model id (default nano-banana-2): nano-banana-2-edit, nano-banana-pro-edit, flux-3-edit, nano-banana-2, nano-banana-2-lite, nano-banana-pro, gpt-image-2, sd35-large, flux-2-pro, ideogram-v4, recraft-v4, recraft-v3, recraft-v3-edit, seedream-v5-pro, seedream-v5-lite, qwen-image, z-image, z-image-turbo, krea-v2, krea-v3, grok-imagine-image. Prices and capabilities: fattly_list_models."
    • addedInput schema / properties / negativePrompt
      Added value: +{
      +  "description": "What the image must NOT contain (models that support it; others ignore it).",
      +  "type": "string"
      +}
    • addedInput schema / properties / recraftStyle
      Added value: +{
      +  "description": "Recraft models only: base style, e.g. realistic_image or vector_illustration.",
      +  "enum": [
      +    "any",
      +    "realistic_image",
      +    "realistic_image/b_and_w",
      +    "realistic_image/hard_flash",
      +    "realistic_image/hdr",
      +    "realistic_image/natural_light",
      +    "realistic_image/studio_portrait",
      +    "realistic_image/enterprise",
      +    "realistic_image/motion_blur",
      +    "realistic_image/evening_light",
      +    "realistic_image/faded_nostalgia",
      +    "realistic_image/forest_life",
      +    "realistic_image/mystic_naturalism",
      +    "realistic_image/natural_tones",
      +    "realistic_image/organic_calm",
      +    "realistic_image/real_life_glow",
      +    "realistic_image/retro_realism",
      +    "realistic_image/retro_snapshot",
      +    "realistic_image/urban_drama",
      +    "realistic_image/village_realism",
      +    "realistic_image/warm_folk",
      +    "digital_illustration",
      +    "digital_illustration/pixel_art",
      +    "digital_illustration/hand_drawn",
      +    "digital_illustration/grain",
      +    "digital_illustration/infantile_sketch",
      +    "digital_illustration/2d_art_poster",
      +    "digital_illustration/handmade_3d",
      +    "digital_illustration/hand_drawn_outline",
      +    "digital_illustration/engraving_color",
      +    "digital_illustration/2d_art_poster_2",
      +    "digital_illustration/antiquarian",
      +    "digital_illustration/bold_fantasy",
      +    "digital_illustration/child_book",
      +    "digital_illustration/child_books",
      +    "digital_illustration/cover",
      +    "digital_illustration/crosshatch",
      +    "digital_illustration/digital_engraving",
      +    "digital_illustration/expressionism",
      +    "digital_illustration/freehand_details",
      +    "digital_illustration/grain_20",
      +    "digital_illustration/graphic_intensity",
      +    "digital_illustration/hard_comics",
      +    "digital_illustration/long_shadow",
      +    "digital_illustration/modern_folk",
      +    "digital_illustration/multicolor",
      +    "digital_illustration/neon_calm",
      +    "digital_illustration/noir",
      +    "digital_illustration/nostalgic_pastel",
      +    "digital_illustration/outline_details",
      +    "digital_illustration/pastel_gradient",
      +    "digital_illustration/pastel_sketch",
      +    "digital_illustration/pop_art",
      +    "digital_illustration/pop_renaissance",
      +    "digital_illustration/street_art",
      +    "digital_illustration/tablet_sketch",
      +    "digital_illustration/urban_glow",
      +    "digital_illustration/urban_sketching",
      +    "digital_illustration/vanilla_dreams",
      +    "digital_illustration/young_adult_book",
      +    "digital_illustration/young_adult_book_2",
      +    "vector_illustration",
      +    "vector_illustration/bold_stroke",
      +    "vector_illustration/chemistry",
      +    "vector_illustration/colored_stencil",
      +    "vector_illustration/contour_pop_art",
      +    "vector_illustration/cosmics",
      +    "vector_illustration/cutout",
      +    "vector_illustration/depressive",
      +    "vector_illustration/editorial",
      +    "vector_illustration/emotional_flat",
      +    "vector_illustration/infographical",
      +    "vector_illustration/marker_outline",
      +    "vector_illustration/mosaic",
      +    "vector_illustration/naivector",
      +    "vector_illustration/roundish_flat",
      +    "vector_illustration/segmented_colors",
      +    "vector_illustration/sharp_contrast",
      +    "vector_illustration/thin",
      +    "vector_illustration/vector_photo",
      +    "vector_illustration/vivid_shapes",
      +    "vector_illustration/engraving",
      +    "vector_illustration/line_art",
      +    "vector_illustration/line_circuit",
      +    "vector_illustration/linocut"
      +  ],
      +  "type": "string"
      +}
  4. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-idempotent, non-destructive behavior, and the description adds two useful facts beyond them: every call deducts credits (important given idempotentHint=false, since retries cost money) and the response is a link rather than inline data. It does not say whether generation is synchronous or requires polling via something like fattly_video_status, nor how long a call blocks, which is the main behavioral unknown for a paid generation call.

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

Conciseness5/5

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

Three short sentences, each carrying distinct information: what it does, what it returns, and what it costs. The purpose is front-loaded and there is no redundant phrasing.

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

Completeness3/5

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

With eight parameters fully documented in the schema, annotations covering safety traits, and no output schema, the description covers the essentials plus the return value and credit cost. It remains silent on the one thing an agent must plan around for a costly, non-idempotent operation: latency and whether a result is returned immediately or must be waited on.

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%, with each of the eight parameters carrying its own documentation, including model ids, URL requirements, and recraft style guidance. The description adds no parameter-level meaning beyond the schema, so the baseline of 3 applies.

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

Purpose4/5

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

The description states a specific verb and resource ("Generates an AI image from a prompt") and adds the return value (a link), so the agent knows exactly what the tool produces. It does not distinguish itself from adjacent image siblings such as fattly_inpaint, fattly_upscale, or fattly_generate_ad, so the agent must infer which one handles a given request.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: no indication that editing an existing image should go to fattly_inpaint, upscaling to fattly_upscale, or ad creatives to fattly_generate_ad. The only usage-relevant fact is that credits are consumed, with no statement of cost, prerequisites, or when not to call it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.