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

# Image Create

`POST /image/create`

## Request

- Base URL: `https://trace.wandb.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://trace.wandb.ai/image/create`
- Auth: none declared

## 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, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `dd89fadfe4e4`: 4 info
  - the endpoint scheme security `HTTPBasic` was removed from the API
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
  - the response property `weave_call_id` became required for the status `200`
- **2026-01-07** `d6e39f7c717d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/wandb/apis/weights-biases-weave-stainless-api/changes/image/create/post.md)

---

[API](https://skmtc.dev/wandb/apis/weights-biases-weave-stainless-api.md) - [All operations](https://skmtc.dev/wandb/apis/weights-biases-weave-stainless-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wandb/apis/weights-biases-weave-stainless-api/revisions/f7643c49bf2e?raw)
