generate_similar
Generate similar images. Consumes Firefly Services credits. Returns Adobe output URLs. Set wait=false to return an async job.
This record as markdown: /tools/thenavidm-firefly-mcp-cli/generate-similar.md
What generate_similar does on Firefly Mcp Cli
AI agents use generate_similar 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
n | integer | — | Compatibility alias for numVariations. Do not supply both. |
size | object | — | The desired width and height for the final image in pixels. The supported sizes for the output images are: Square (1:1) - width 2048px, height 2048px Square (1: |
wait | boolean | — | Wait for completion, default true. Set false to return the job immediately. |
image | object | — | Firefly will create similar variations. Use a URL or an uploadID as the source for the image. Firefly only allows these listed domains: amazonaws.com windows.ne |
seeds | array | — | Array of seed image IDs. These reference images help ensure consistent image generation across multiple API calls. If specified along with numVariations, the nu |
width | integer | — | Compatibility alias: provide together with height instead of size. |
height | integer | — | Compatibility alias: provide together with width instead of size. |
confirm | boolean | — | Set true only when the user asked for exactly this action. |
download | boolean | — | Download completed media to FIREFLY_OUTPUT_DIR, default false. Requires wait=true. |
imageUrl | string | — | Compatibility URL alias for image.source.url. |
numVariations | integer | — | Generate this number of variations. numVariations defaults to the number of seed images, or to 1 if you do not specify `seeds`. |
Parameters from the server's own tool schema.
Why generate_similar is rated Medium
An AI agent can call generate_similar 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.source.url) · High parameter count (16 properties)
Attacks that exploit this kind of access
The rule that runs generate_similar safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Firefly Mcp Cli, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For generate_similar, this is the rule to start with:
generate_similar stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Firefly Mcp Cli, apply this rule, and every generate_similar call is checked against it from then on.
Questions about generate_similar
Generate similar images. 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.
generate_similar accepts 11 parameters: n, size, wait, image, seeds, width, height, confirm, download, imageUrl, numVariations. The full parameter table on this page comes from the server's own tool schema.
Register the Firefly Mcp Cli MCP server in PolicyLayer and add a rule for generate_similar: 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.
generate_similar is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the generate_similar 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.
Set action: deny in the PolicyLayer policy for generate_similar. 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.
generate_similar 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.
This server
Across the catalogue