---
title: "Image Create"
method: POST
path: "/image/create"
tags: ["Images"]
---

# Image Create

`POST /image/create`

## Request body

- ImageGenerationCreateReq
  - `project_id` string, required
  - `inputs` ImageGenerationRequestInputs, required
    - `model` string, required
    - `prompt` string, required
    - `n` integer, nullable
  - `wb_user_id` string, nullable — Do not set directly. Server will automatically populate this field.
  - `track_llm_call` boolean, nullable — Whether to track this image generation call in the trace server

## Response `200`

Successful Response

- ImageGenerationCreateRes
  - `response` object, required
  - `weave_call_id` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/wandb/apis/fastapi.md) · [All operations](https://skmtc.net/wandb/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wandb/fastapi/revisions/56745769989b/schema)
