---
title: "Generate Image"
method: POST
path: "/api/generate"
---

# Generate Image

`POST /api/generate`

## Request

- Base URL: `https://api.foodphoto.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.foodphoto.ai/api/generate`
- Auth: HTTP bearer

Generate AI food photo (legacy endpoint — routes to GPT Image 2).

## Response `200`

Successful Response

- unknown

---

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