# Grok Imagine Image text to image

Needs prompt. Served by fal.ai.

Grok Imagine Image, served by fal.ai. $0.02 per images One submitted item is offered per call; the exact receipt determines the final charge. Asynchronous: returns a request_id; poll fal/status and fetch fal/result with model "xai/grok-imagine-image" and that request_id. The exact endpoint/request billing receipt is required before settlement.

- Tool ID: `fal/xai-grok-imagine-image`
- Name in the catalog: Grok Imagine Image, text to image
- Provider: [fal.ai](/providers/fal.md)
- Capability: [Grok Imagine Image](/tools/image-generation/grok-imagine-image.md)
- Price: $0.02 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.02
}
```

Pricing source: [https://fal.ai/models/xai/grok-imagine-image/llms.txt](https://fal.ai/models/xai/grok-imagine-image/llms.txt). $0.02 per images One submitted item is offered per call; the exact receipt determines the final charge..

Price verification date: 2026-11-03.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "prompt": {
      "description": "Text description of the desired image.",
      "maxLength": 8000,
      "type": "string",
      "title": "Prompt"
    },
    "output_format": {
      "description": "The format of the generated image.",
      "enum": [
        "jpeg",
        "png",
        "webp"
      ],
      "type": "string",
      "default": "jpeg",
      "title": "Output Format"
    },
    "num_images": {
      "description": "Number of images to generate.",
      "minimum": 1,
      "type": "integer",
      "default": 1,
      "maximum": 1,
      "title": "Number of Images",
      "enum": [
        1
      ]
    },
    "enable_safety_checker": {
      "description": "Authorized callers may set false to request relaxed screening.",
      "type": "boolean",
      "default": true,
      "title": "Enable Safety Checker"
    },
    "aspect_ratio": {
      "description": "Aspect ratio of the generated image. Use auto to let the provider choose.",
      "enum": [
        "auto",
        "2:1",
        "20:9",
        "19.5:9",
        "16:9",
        "4:3",
        "3:2",
        "1:1",
        "2:3",
        "3:4",
        "9:16",
        "9:19.5",
        "9:20",
        "1:2"
      ],
      "type": "string",
      "default": "1:1",
      "title": "Aspect Ratio"
    },
    "resolution": {
      "description": "Resolution of the generated image. `1k` for standard resolution, `2k` for high resolution.",
      "enum": [
        "1k"
      ],
      "type": "string",
      "default": "1k",
      "title": "Resolution"
    }
  },
  "required": [
    "prompt"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "fal/xai-grok-imagine-image",
  "input": {
    "prompt": "Abstract human silhouette, golden particles ready to burst outward representing joy, data visualization style, emotional expression through particles, artistic scientific",
    "num_images": 1,
    "resolution": "1k",
    "output_format": "jpeg",
    "enable_safety_checker": true,
    "aspect_ratio": "1:1"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

This tool uses deferred settlement. Follow its returned task/run instructions; preserve the existing reservation until the result is reconciled.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://fal.ai/models/xai/grok-imagine-image)

[REST inspection](https://api.agentik.cc/v1/tools/fal/xai-grok-imagine-image) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/fal/xai-grok-imagine-image) · [Agent index](/llms.txt)
