openapi: 3.0.1
info:
  title: Image Prompt Enhancer
  description: Enhance prompts for image generation.
  version: "v1"
servers:
  - url: https://image-prompt-enhancer.gafo.tech
paths:
  /generate:
    get:
      operationId: generate
      summary: Get instructions on how to craft an enhanced image prompt.
      parameters:
        - in: query
          name: prompt
          required: true
          schema:
            type: string
            format: uri
          example: A travel poster
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  instructions:
                    type: string
                    description: The instructions for crafting an enhanced prompt.
