---
title: "Generate Images Route"
method: POST
path: "/ai_assistant/generate_images"
tags: ["ai_assistant"]
---

# Generate Images Route

`POST /ai_assistant/generate_images`

## Request

- Base URL: `https://api.robopost.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.robopost.app/ai_assistant/generate_images`
- Auth: HTTP bearer

## Request body

- GenerateAIImagesPayloadHttp
  - `input_query` string
  - `count` integer
  - `ai_image_model` 'Z_IMAGE' | 'DALLE' | 'FLUX_SCHNELL' | 'FLUX_DEV' | 'FLUX_PRO': An enumeration.
  - `input_type` 'BY_PROMPT' | 'BY_INSTRUCTIONS': An enumeration.

## Response `200`

Successful Response

- object[]

## Other responses

- `404`: Not found
- `422`: Validation Error

---

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