generate_object_composite
Generate object composite. 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-object-composite.md
What generate_object_composite does on Firefly Mcp Cli
AI agents use generate_object_composite 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. |
mask | object | — | Selected areas of a background image that Firefly uses to fill the source image. |
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 | — | 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. If specified along with numVariations, the nu |
style | object | — | |
width | integer | — | Compatibility alias: provide together with height instead of size. |
height | integer | — | Compatibility alias: provide together with width instead of size. |
prompt | string | Yes | A 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. |
Parameters from the server's own tool schema.
Why generate_object_composite is rated Medium
An AI agent can call generate_object_composite 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 (42 properties)
Attacks that exploit this kind of access
The rule that runs generate_object_composite 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_object_composite, this is the rule to start with:
generate_object_composite 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_object_composite call is checked against it from then on.
Questions about generate_object_composite
Generate object composite. 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_object_composite accepts 12 parameters: n, mask, size, wait, image, seeds, style, width, height, prompt, confirm, maskUrl. Required: prompt. 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_object_composite: 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_object_composite 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_object_composite 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_object_composite. 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_object_composite 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