---
title: "Image Generation"
method: POST
path: "/v1/images/generations"
---

# Image Generation

`POST /v1/images/generations`

## Request

- Base URL: `https://api.jarvisclaw.ai`
- URL: `https://api.jarvisclaw.ai/v1/images/generations`
- Auth: HTTP x402

Generate images from text prompts using DALL-E, Flux, GPT-Image, and Midjourney-style models.

## Request body

- object
  - `model` string, required: Image model ID (e.g. dall-e-3, flux-pro, gpt-image-1)
  - `n` integer: Number of images to generate
  - `prompt` string, required: Text description of the image to generate
  - `size` string: Image size (e.g. 1024x1024)

## Response `200`

Successful response

- object
  - `data` object

## Other responses

- `402`: Payment Required

---

[API](https://skmtc.dev/jarvisclaw/apis/jarvisclaw-api.md) · [All operations](https://skmtc.dev/jarvisclaw/apis/jarvisclaw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/jarvisclaw/apis/jarvisclaw-api/revisions/2011c77f4e4f?raw)
