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

# Create Anonymous Generation

Create a new AI generation request without requiring user authentication. Useful for public demos or試用.

### Body

<ParamField body="prompt" type="string" required>
  The prompt for AI generation
</ParamField>

<ParamField body="files" type="array" required>
  Array of files to process (multipart form data)
</ParamField>

### Response

<ResponseField name="id" type="string">
  Unique generation request identifier
</ResponseField>

<ResponseField name="status" type="string">
  Current status of the generation request
</ResponseField>

<Note>
  Anonymous generations may have rate limits or feature restrictions compared to authenticated requests.
</Note>


## OpenAPI

````yaml POST /api/v1/generation/generate-anonymous-v2
openapi: 3.1.0
info:
  title: Dev Kit for AI API
  description: 'API for Dev Kit for AI: Developer Toolkit for AI-Powered Web Applications'
  version: 1.6.1
servers:
  - url: https://api.devkit4ai.com
    description: Dev Kit for AI Production Server
  - url: https://api.vibecoding.ad
    description: Vibe Coding Production Server
security: []
paths:
  /api/v1/generation/generate-anonymous-v2:
    post:
      tags:
        - AI Generation API
      summary: Create Anonymous Generation V2
      operationId: >-
        create_anonymous_generation_v2_api_v1_generation_generate_anonymous_v2_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: >-
                #/components/schemas/Body_create_anonymous_generation_v2_api_v1_generation_generate_anonymous_v2_post
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenerationCreateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Body_create_anonymous_generation_v2_api_v1_generation_generate_anonymous_v2_post:
      properties:
        instructions:
          type: string
          title: Instructions
        files:
          items:
            type: string
            format: binary
          type: array
          title: Files
      type: object
      required:
        - instructions
        - files
      title: >-
        Body_create_anonymous_generation_v2_api_v1_generation_generate_anonymous_v2_post
    GenerationCreateResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        message:
          type: string
          title: Message
          default: Generation request submitted successfully
      type: object
      required:
        - id
      title: GenerationCreateResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````