---
title: "Generate Image"
method: POST
path: "/api/workspace/video-studio/generate-image"
tags: ["video-studio", "video-studio"]
---

# Generate Image

`POST /api/workspace/video-studio/generate-image`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/workspace/video-studio/generate-image`
- Auth: none declared

## Request body

- GenerateImageRequest
  - `prompt` string, required
  - `reference_file_ids` integer[]
  - `aspect_ratio` string

## Response `200`

Successful Response

- GenerateImageResponse
  - `file_id` integer, required
  - `download_url` string, required
  - `mime_type` string
  - `byte_size` integer, nullable
  - `cost_usd` number, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
