MediaCreateRequest

  • action
    Type: string
    min length:  
    1
    max length:  
    128
    required

    Exact actions[].action. For image editing select edit.image only when advertised; do not infer an action from reference images.

  • input
    Type: object
    required

    Model-native JSON object. Follow the selected model input contract; there is no universal prompt/image parameter schema.

    • propertyName
      Type: anything
  • mode
    Type: string enum
    required

    Must also appear in the selected action supported_modes.

    values
    • sync
    • async
    • stream
  • model
    Type: string
    min length:  
    1
    max length:  
    128
    required

    Exact model_code from the authorized media catalog.

  • callback_url
    Type: string | null Format: uri

    Optional HTTPS callback URL for async only. Terminal notification is delivered by Platform, up to four attempts with 5, 10 and 20 second retry delays.

  • propertyName
    Type: anything