MediaModel

  • actions
    Type: array object[] · MediaAction[]
    required
    • action
      Type: string
      required

      Exact operation declared by this model, for example generate.image or edit.image. Reference input does not select the operation.

    • supported_modes
      Type: array string[]
      required

      Modes declared by the model. Creation accepts the action-advertised sync, async, or stream mode.

    • reference_input
      Type: object

      Optional model-specific reference-input metadata; it does not change action semantics.

    • propertyName
      Type: anything
  • model_code
    Type: string
    required

    Use this exact value as model in task creation.

  • display_name
    Type: string
  • media_specs
    Type: object

    Model-level specifications. Missing fields indicate unknown capabilities.

    • aspect_ratios
      Type: array string[] 1…
    • duration
      Type: object
    • resolutions
      Type: array string[] 1…
    • supports_audio_generation
      Type: boolean
    • propertyName
      Type: anything
  • media_types
    Type: array string[]
  • pricing
    Type: object

    Model-specific pricing metadata; keep quantity/decimal values in their original types.

    • propertyName
      Type: anything
  • propertyName
    Type: anything