POST
/
v1
/
image
/
gen
/
playground
curl --request POST \
  --url https://openapi.monica.im/v1/image/gen/playground \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "playground-v2-5",
  "prompt": "A beautiful sunset over the ocean",
  "negative_prompt": "",
  "count": 1,
  "size": "1024x1024",
  "step": 30,
  "seed": "0",
  "safety_check": false,
  "cfg_scale": "7.0"
}'
{
  "data": [
    {
      "url": "<string>"
    }
  ]
}
Follow the quickstart guide to get your own API Key.

Playground is a series of image generation models developed by Playground AI. See the pricing page for pricing details.

Playground V2.5

  • Latest iteration of Playground’s image generation technology
  • Cost-effective solution for high-quality image generation
  • Features:
    • Strong artistic style interpretation
    • Good composition and coherence
    • Efficient processing speed
    • Reliable output quality
  • Best for:
    • Creative projects
    • Digital art creation
    • Content generation
    • Rapid prototyping
    • Personal and commercial use

Previews

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200 - application/json
Success

The response is of type object.