> ## Documentation Index
> Fetch the complete documentation index at: https://platform.monica.im/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Playground models

export const APIKeyHint = () => <Note>Follow the <a href="/docs/en/quickstart">quickstart guide</a> to get your own API Key.</Note>;

<APIKeyHint />

Playground is a series of image generation models developed by [Playground AI](https://playground.ai/). See the [pricing page](/docs/en/models-and-pricing#image-generation) 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**

<Tabs>
  <Tab title="Playground V2.5">
    <img src="https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/playground-v2.5.webp?fit=max&auto=format&n=XIP_99VNIjc_U1El&q=85&s=393f127f12fd1b14bde7e9e43a4942e3" width="1024" height="1024" data-path="image-previews/playground-v2.5.webp" />
  </Tab>
</Tabs>


## OpenAPI

````yaml POST /v1/image/gen/playground
openapi: 3.1.0
info:
  title: Monica Open API Platform
  version: v1
servers: []
security: []
tags:
  - name: image.v1.ImageGenerationService
    x-displayName: image.v1.ImageGenerationService
  - name: image.v1.ImageToolService
    x-displayName: image.v1.ImageToolService
  - name: text.v1.HumanizeService
    x-displayName: text.v1.HumanizeService
paths:
  /v1/image/gen/playground:
    post:
      tags:
        - image.v1.ImageGenerationService
      summary: Playground25ImageGeneration
      operationId: image.v1.ImageGenerationService.Playground25ImageGeneration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/image.v1.Playground25ImageGenerationRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/image.v1.Playground25ImageGenerationResponse
      security:
        - BearerAuth: []
components:
  schemas:
    image.v1.Playground25ImageGenerationRequest:
      type: object
      properties:
        model:
          type: string
          examples:
            - playground-v2-5
          title: model
          enum:
            - playground-v2-5
          default: playground-v2-5
        prompt:
          type: string
          examples:
            - A beautiful sunset over the ocean
          title: prompt
          maxLength: 4000
          minLength: 1
          description: Prompt to use for the image generation process.
        negative_prompt:
          type: string
          examples:
            - ''
          title: negative_prompt
          maxLength: 4000
          description: Negative prompt to use for the image generation process.
        count:
          type: integer
          examples:
            - 1
          title: count
          maximum: 4
          minimum: 1
          format: int32
          description: The number of images to generate. Between 1 and 4.
          default: '1'
        size:
          type: string
          examples:
            - 1024x1024
          title: size
          enum:
            - 1024x1024
            - 768x1344
            - 1344x768
          description: The size of the generated images.
          default: 1024x1024
        step:
          type: integer
          examples:
            - 30
          title: step
          maximum: 50
          minimum: 1
          format: int32
          description: >-
            Number of steps to use for the image generation process. Between 1
            and 50.
          default: '30'
        seed:
          type: integer
          examples:
            - '0'
          title: seed
          maximum: 2147483647
          description: >-
            Random seed to use for the image generation process. If 0, we will
            use a totally random seed. Between 0 and 2147483647.
        safety_check:
          type: boolean
          examples:
            - false
          title: safety_check
          description: Enable a safety check for each response.
          default: 'false'
        cfg_scale:
          type: number
          examples:
            - '7.0'
          title: cfg_scale
          format: double
          description: Classifier-free guidance scale for the image diffusion process.
          default: '7'
      title: Playground25ImageGenerationRequest
      required:
        - prompt
      additionalProperties: false
    image.v1.Playground25ImageGenerationResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/image.v1.ImageResponseDataInner'
          title: data
          description: An array of generated image URLs.
      title: Playground25ImageGenerationResponse
      additionalProperties: false
    image.v1.ImageResponseDataInner:
      type: object
      properties:
        url:
          type: string
          title: url
          description: The URL of the generated image.
      title: ImageResponseDataInner
      additionalProperties: false
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````