# generate_image5

Generate images with Image5. Image 5 supports natural-language edits through referenceBlobs. Consumes Firefly Services credits. Returns Adobe output URLs. Set wait=false to return an async job.

Agent View of the PolicyLayer registry record for `generate_image5`. HTML page: https://policylayer.com/tools/thenavidm-firefly-mcp-cli/generate-image5

## Facts

- Tool: `generate_image5`
- Server: Firefly Mcp Cli (`@thenavidm/firefly-mcp-cli`) — https://policylayer.com/tools/thenavidm-firefly-mcp-cli.md
- Install: `npx -y @thenavidm/firefly-mcp-cli`
- Homepage: https://www.npmjs.com/package/@thenavidm/firefly-mcp-cli
- Risk category: Write (Medium risk)
- Registry record: grade C, identity unverified
- Server rate-limited: no
- Parameters: 12 (1 required)
- Recommended policy verdict: Rate-limited

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `n` | integer | no | Compatibility alias for numVariations. Do not supply both. |
| `wait` | boolean | no | Wait for completion, default true. Set false to return the job immediately. |
| `seeds` | array | no | The seed value to vary the image generation. Only one seed per variation is allowed. If specified alongside with numVariations, the number of seeds must be equa |
| `prompt` | string | yes | The prompt used to generate the image. The longer the prompt, the better. |
| `confirm` | boolean | no | Set true only when the user asked for exactly this action. |
| `modelId` | string | no | The specific model to use for image generation. Available options: 'firefly_image' for Firefly Image model. |
| `download` | boolean | no | Download completed media to FIREFLY_OUTPUT_DIR, default false. Requires wait=true. |
| `aspectRatio` | string | no | The aspect ratio of the requested generations. This controls the size of the generated image. When referenceBlobs is included in the request, this property shou |
| `numVariations` | integer | no | The number of image variations to generate. Greater than 1 is not supported. Only one image per variation is allowed. For multiple variations, send separate req |
| `referenceBlobs` | array | no | List of reference blobs that will be used as additional input for the generation process. Only one reference image is supported. When this array is not empty, a |
| `resolutionLevel` | string | no | The resolution level. |
| `modelSpecificPayload` | object | no | Additional model-specific parameters for controlling the generation process. |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

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

## Why generate_image5 is rated Medium

An AI agent can call generate_image5 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 signals: Accepts URL/endpoint input (referenceBlobs[].source.url) · High parameter count (18 properties)

## Use case

AI agents use generate_image5 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.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Firefly Mcp Cli:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "generate_image5": {
      "limits": [
        {
          "counter": "generate_image5_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Firefly Mcp Cli (13)

- `get_job_status` — Read — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/get-job-status.md
- `list_custom_models` — Read — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/list-custom-models.md
- `verify_credentials` — Read — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/verify-credentials.md
- `adaptive_composite` — Write — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/adaptive-composite.md
- `generate_image` — Write — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/generate-image.md
- `generate_object_composite` — Write — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/generate-object-composite.md
- `generate_similar` — Write — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/generate-similar.md
- `generate_video` — Write — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/generate-video.md
- `generative_expand` — Write — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/generative-expand.md
- `generative_fill` — Write — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/generative-fill.md
- `precise_composite` — Write — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/precise-composite.md
- `upload_image` — Write — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/upload-image.md
- `upscale_image` — Write — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/upscale-image.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=thenavidm-firefly-mcp-cli · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/thenavidm-firefly-mcp-cli
