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

# Midjourney Describe

> Describe an image as prompts (`base64Array`).

**Base:** `https://api.omniall.ai` + path. Auth: `Authorization: Bearer sk-...`. Tasks are **async** — use `GET /mj/task/{id}/fetch`.



## OpenAPI

````yaml openapi/xgapi-public.yaml POST /mj/submit/describe
openapi: 3.0.3
info:
  title: Omniall AI Public API
  description: >-
    Omniall AI public API. Website: https://omniall.ai — API host:
    https://api.omniall.ai — Model Square: https://omniall.ai/pricing
  version: 1.1.0
servers:
  - url: https://api.omniall.ai
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Models
    description: List models available to your API key.
  - name: ChatGPT Chat Completions
    x-group: ChatGPT
    description: OpenAI Chat Completions (`POST /v1/chat/completions`).
  - name: Responses
    description: OpenAI Responses API (`POST /v1/responses`).
  - name: Claude
    description: Anthropic Messages API (`POST /v1/messages`).
  - name: Gemini
    description: Google Gemini generateContent / streamGenerateContent.
  - name: Images
    description: >-
      Image generation (OpenAI Images), vendor guides, and Midjourney proxy
      APIs.
  - name: Video
    description: Async video tasks.
  - name: Audio
    description: Speech and related audio APIs.
  - name: Rerank
    description: Document reranking.
paths:
  /mj/submit/describe:
    post:
      tags:
        - Images
      summary: Midjourney Describe
      description: >-
        Describe an image as prompts (`base64Array`).


        **Base:** `https://api.omniall.ai` + path. Auth: `Authorization: Bearer
        sk-...`. Tasks are **async** — use `GET /mj/task/{id}/fetch`.
      operationId: mjDescribe
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MidjourneyRequest'
            example:
              base64Array:
                - /9j/4AAQ...
      responses:
        '200':
          description: Submit accepted (async). Poll task fetch with returned task id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MidjourneySubmitResponse'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenAIErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenAIErrorResponse'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenAIErrorResponse'
        '500':
          description: Upstream/gateway error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenAIErrorResponse'
components:
  schemas:
    MidjourneyRequest:
      type: object
      description: >-
        Midjourney proxy submit body (`/mj/submit/*`). Field usage depends on
        action (imagine/change/blend/…).
      properties:
        prompt:
          type: string
          description: Imagine/describe prompt text.
          example: a red fox in misty forest --v 6
        base64Array:
          type: array
          items:
            type: string
          description: Reference images as Base64 (blend/edits/imagine with refs).
        action:
          type: string
          description: >-
            Action type for change/simple-change/action endpoints (e.g. UPSCALE,
            VARIATION).
        index:
          type: integer
          description: Button/index for upscale/variation (1–4 typically).
        taskId:
          type: string
          description: Existing MJ task id when continuing (change/action/modal).
        customId:
          type: string
          description: Button customId from a previous task `buttons` payload.
        notifyHook:
          type: string
          description: Optional webhook URL for task completion callbacks.
        state:
          type: string
          description: Opaque client state echoed by the proxy.
        botType:
          type: string
          description: Bot type when required by your MJ proxy deployment.
        content:
          type: string
          description: Extra content for some actions (modal/shorten).
        maskBase64:
          type: string
          description: Mask image Base64 for edits/inpaint-style flows.
    MidjourneySubmitResponse:
      type: object
      properties:
        code:
          type: integer
          description: >-
            Proxy result code (`1` often means submitted successfully — follow
            your MJ proxy convention).
        description:
          type: string
          description: Human-readable status text.
        result:
          type: string
          description: New task id (use with fetch).
        properties:
          description: Optional extra properties from the proxy.
    OpenAIErrorResponse:
      type: object
      description: OpenAI-style error envelope returned on auth/request failures.
      required:
        - error
      properties:
        error:
          type: object
          required:
            - message
            - type
          properties:
            message:
              type: string
              description: >-
                Human-readable error. The gateway may append a request id for
                support.
            type:
              type: string
              description: Error type, commonly `new_api_error`.
              example: new_api_error
            code:
              type: string
              description: >-
                Optional machine-readable code (e.g. `access_denied`). May be an
                empty string.
          description: Error object.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'Use Authorization: Bearer sk-... from https://omniall.ai/dashboard'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.