Imagine

Generate an image using a text prompt. This is the /imagine command on Discord.

This endpoint doesn't generate images instantly, you can use the Fetch endpoint to fetch the result or use webhooks.

POST https://api.midapi.pro/imagine

Headers

NameValue

Content-Type

application/json

X-API-KEY

Bearer <token>

Body

NameTypeDescription

name

string

Name of the user

age

number

Age of the user

Response

{
  "id": 1,
  "name": "John",
  "age": 30
}

Last updated