POST
/
v1
/
ai-image-generator
curl --request POST \
  --url https://api.magichour.ai/v1/ai-image-generator \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Ai Image image",
  "image_count": 1,
  "orientation": "landscape",
  "style": {
    "prompt": "Cool image",
    "tool": "ai-anime-generator"
  }
}'
{
  "id": "clx7uu86w0a5qp55yxz315r6r",
  "frame_cost": 5,
  "credits_charged": 5
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Body

The body is of type object.

Response

200
application/json

Success