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

# Retrieve a WonderClip image task

> Retrieve status and image outputs for a WonderClip image task.



## OpenAPI

````yaml openapi/wonderclip-image.yaml GET /wonderclip-images/generations/{id}
openapi: 3.1.0
info:
  title: WonderClip image API
  version: 1.0.0
  description: Provider-specific GENGEN reference for WonderClip image generation.
servers:
  - url: https://gengen.farm/api/gengen/v1
    description: Production
security:
  - bearerAuth: []
paths:
  /wonderclip-images/generations/{id}:
    get:
      summary: Retrieve a WonderClip image task
      description: >-
        Retrieve normalized status and image outputs for a WonderClip image
        task.
      operationId: retrieveWonderClipImageTask
      parameters:
        - $ref: '#/components/parameters/TaskId'
      responses:
        '200':
          description: Current task status and outputs.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImageTask'
              example:
                id: wonderclip-image10:ag_123
                model: wonder-banana-pro
                status: succeeded
                outputs:
                  images:
                    - https://example.com/generated-image.png
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        default:
          $ref: '#/components/responses/UnexpectedError'
      x-codeSamples:
        - lang: bash
          label: Retrieve task
          source: |
            curl --request GET \
              --url https://gengen.farm/api/gengen/v1/wonderclip-images/generations/wonderclip-image10%3Aag_123 \
              --header 'Authorization: Bearer gengen_live_xxxxxxxxxxxxxxxx'
components:
  parameters:
    TaskId:
      name: id
      in: path
      required: true
      description: >-
        Public task ID beginning with `wonderclip-image10:`. URL-encode it in
        the path.
      schema:
        type: string
  schemas:
    ImageTask:
      type: object
      required:
        - id
        - model
        - status
        - outputs
      properties:
        id:
          type: string
        model:
          type: string
        status:
          type: string
          description: Common values are `queued`, `running`, `succeeded`, and `failed`.
        outputs:
          $ref: '#/components/schemas/ImageOutputs'
        failureReason:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        statusUpdateTime:
          type: string
          format: date-time
      additionalProperties: true
    ImageOutputs:
      type: object
      required:
        - images
      properties:
        images:
          type: array
          items:
            type: string
            format: uri
      additionalProperties: true
    Error:
      type: object
      properties:
        error_code:
          type: string
        error:
          type: string
        error_params:
          type: object
          additionalProperties: true
      additionalProperties: true
  responses:
    BadRequest:
      description: The request is invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: The bearer token is missing or invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: The API key is not authorized for this operation.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: The task was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    UnexpectedError:
      description: GENGEN or WonderClip could not complete the request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: GENGEN API key
      description: A workspace API key beginning with `gengen_live_`.

````