generative_expand

Expand image. Consumes Firefly Services credits. Returns Adobe output URLs. Set wait=false to return an async job.

SERVERFirefly Mcp Cli SOURCE@thenavidm/firefly-mcp-cli
Medium RISK CLASS
Category Write
Parameters 120 required
Recommended Rate-limitedsee the rule below
Registry record Grade C, identity unverified Pull the record →

This record as markdown: /tools/thenavidm-firefly-mcp-cli/generative-expand.md

What generative_expand does on Firefly Mcp Cli

AI agents use generative_expand to create or update resources in Firefly Mcp Cli, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Firefly Mcp Cli environment.

ParameterTypeRequiredDescription
n integer — Compatibility alias for numVariations. Do not supply both.
mask object — Mask image which will be used to expand the given image.
size object — The desired width and height for the final expanded image in pixels. The maximum size for the output images is 3999px by 3999px.
wait boolean — Wait for completion, default true. Set false to return the job immediately.
image object — The image to expand. Use a URL or an uploadID as the source for the image. Firefly only allows these listed domains for input URLs in the request: amazonaws.com
seeds array — Array of seed image IDs. These reference images help ensure consistent image generation across multiple API calls. For example, you can use the same seed to gen
width integer — Compatibility alias: provide together with height instead of size.
height integer — Compatibility alias: provide together with width instead of size.
prompt string — An optional text prompt up to 1024 characters. The longer the prompt the better Firefly performs.
confirm boolean — Set true only when the user asked for exactly this action.
maskUrl string — Compatibility URL alias for mask.source.url.
download boolean — Download completed media to FIREFLY_OUTPUT_DIR, default false. Requires wait=true.

Parameters from the server's own tool schema.

Why generative_expand is rated Medium

An AI agent can call generative_expand faster than any human can review: one bad instruction and it creates or modifies resources in Firefly Mcp Cli by the hundred, each call as confident as the last.

Risk signalsAccepts URL/endpoint input (image.mask.url) · High parameter count (35 properties)

Questions about generative_expand

What does the generative_expand tool do? +

Expand image. Consumes Firefly Services credits. Returns Adobe output URLs. Set wait=false to return an async job. It is categorised as a Write tool in the Firefly Mcp Cli MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does generative_expand accept? +

generative_expand accepts 12 parameters: n, mask, size, wait, image, seeds, width, height, prompt, confirm, maskUrl, download. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on generative_expand? +

Register the Firefly Mcp Cli MCP server in PolicyLayer and add a rule for generative_expand: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Firefly Mcp Cli. Nothing to install.

What risk level is generative_expand? +

generative_expand is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit generative_expand? +

Yes. Add a rate_limit block to the generative_expand rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block generative_expand completely? +

Set action: deny in the PolicyLayer policy for generative_expand. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides generative_expand? +

generative_expand is provided by the Firefly Mcp Cli MCP server (@thenavidm/firefly-mcp-cli). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Firefly Mcp Cli, and thousands of servers like it.

Across the catalogue

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Firefly Mcp Cli's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.