Hedra Public API

Public endpoints are available to API users.

OpenAPI Specification

hedra-public-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Hedra Web Public API
  version: 0.1.0
  description: Public endpoints are available to API users.
servers:
- url: /web-app
tags:
- name: Public
  description: Public endpoints are available to API users.
paths:
  /public/models:
    get:
      tags:
      - Public
      summary: List Models
      operationId: list_models_public_models_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: types
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              $ref: '#/components/schemas/GenerationType'
          - type: 'null'
          title: Types
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AIModel'
                title: Response List Models Public Models Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /public/voices:
    get:
      tags:
      - Public
      summary: List Voices
      operationId: list_voices_public_voices_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Asset'
                type: array
                title: Response List Voices Public Voices Get
      security:
      - APIKeyHeader: []
  /public/assets:
    get:
      tags:
      - Public
      summary: List Assets
      operationId: list_assets_public_assets_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: type
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/AssetType'
      - name: ids
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Ids
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Asset'
                title: Response List Assets Public Assets Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Public
      summary: Create Asset
      operationId: create_asset_public_assets_post
      security:
      - APIKeyHeader: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAssetRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateAssetResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /public/assets/{id}/upload:
    post:
      tags:
      - Public
      summary: Upload Asset
      operationId: upload_asset_public_assets__id__upload_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Id
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_upload_asset_public_assets__id__upload_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Asset'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /public/generations:
    get:
      tags:
      - Public
      summary: 'List '
      operationId: list__public_generations_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: type
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AssetType'
          - $ref: '#/components/schemas/GenerationType'
          - type: 'null'
          title: Type
      - name: created_before
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Created Before
      - name: created_after
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Created After
      - name: prompt_query
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Prompt Query
      - name: agent_thread_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Agent Thread Id
      - name: ids
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Ids
      - name: paging_params
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/PagingParams'
          default:
            limit: 100
            offset: 0
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagedResponse_Generation_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Public
      summary: Generate Asset
      operationId: generate_asset_public_generations_post
      security:
      - APIKeyHeader: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
              - $ref: '#/components/schemas/GenerateVideoRequest'
              - $ref: '#/components/schemas/GenerateTextToSpeechRequest'
              - $ref: '#/components/schemas/GenerateTextToSoundRequest'
              - $ref: '#/components/schemas/GenerateImageRequest'
              - $ref: '#/components/schemas/GenerateImageUpscaleRequest'
              - $ref: '#/components/schemas/GenerateVideoUpscaleRequest'
              - $ref: '#/components/schemas/GenerateIsolatedAudioRequest'
              - $ref: '#/components/schemas/GenerateSpeechToSpeechRequest'
              - $ref: '#/components/schemas/GenerateVoiceCloneRequest'
              - $ref: '#/components/schemas/GenerateVideoToVideoRequest'
              - $ref: '#/components/schemas/GenerateMotionControlRequest'
              discriminator:
                propertyName: type
                mapping:
                  video: '#/components/schemas/GenerateVideoRequest'
                  text_to_speech: '#/components/schemas/GenerateTextToSpeechRequest'
                  text_to_sound: '#/components/schemas/GenerateTextToSoundRequest'
                  image: '#/components/schemas/GenerateImageRequest'
                  image_to_image: '#/components/schemas/GenerateImageRequest'
                  image_upscale: '#/components/schemas/GenerateImageUpscaleRequest'
                  video_upscale: '#/components/schemas/GenerateVideoUpscaleRequest'
                  audio_isolation: '#/components/schemas/GenerateIsolatedAudioRequest'
                  speech_to_speech: '#/components/schemas/GenerateSpeechToSpeechRequest'
                  voice_clone: '#/components/schemas/GenerateVoiceCloneRequest'
                  video_to_video: '#/components/schemas/GenerateVideoToVideoRequest'
                  motion_control: '#/components/schemas/GenerateMotionControlRequest'
              title: Generate Request
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/GenerateVideoResponse'
                - $ref: '#/components/schemas/GenerateTextToSpeechResponse'
                - $ref: '#/components/schemas/GenerateTextToSoundResponse'
                - $ref: '#/components/schemas/GenerateImageResponse'
                - $ref: '#/components/schemas/GenerateImageUpscaleResponse'
                - $ref: '#/components/schemas/GenerateVideoUpscaleResponse'
                - $ref: '#/components/schemas/GenerateIsolatedAudioResponse'
                - $ref: '#/components/schemas/GenerateSpeechToSpeechResponse'
                - $ref: '#/components/schemas/GenerateVoiceCloneResponse'
                - $ref: '#/components/schemas/GenerateVideoToVideoResponse'
                - $ref: '#/components/schemas/GenerateMotionControlResponse'
                discriminator:
                  propertyName: type
                  mapping:
                    video: '#/components/schemas/GenerateVideoResponse'
                    text_to_speech: '#/components/schemas/GenerateTextToSpeechResponse'
                    text_to_sound: '#/components/schemas/GenerateTextToSoundResponse'
                    image: '#/components/schemas/GenerateImageResponse'
                    image_to_image: '#/components/schemas/GenerateImageResponse'
                    image_upscale: '#/components/schemas/GenerateImageUpscaleResponse'
                    video_upscale: '#/components/schemas/GenerateVideoUpscaleResponse'
                    audio_isolation: '#/components/schemas/GenerateIsolatedAudioResponse'
                    speech_to_speech: '#/components/schemas/GenerateSpeechToSpeechResponse'
                    voice_clone: '#/components/schemas/GenerateVoiceCloneResponse'
                    video_to_video: '#/components/schemas/GenerateVideoToVideoResponse'
                    motion_control: '#/components/schemas/GenerateMotionControlResponse'
                title: Response Generate Asset Public Generations Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /public/generations/{generation_id}/status:
    get:
      tags:
      - Public
      summary: Get Status
      operationId: get_status_public_generations__generation_id__status_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: generation_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Generation Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenerationStatusResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /public/billing/credits:
    get:
      tags:
      - Public
      summary: Get Credits
      operationId: get_credits_public_billing_credits_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreditBalance'
      security:
      - APIKeyHeader: []
components:
  schemas:
    GenerateVideoToVideoRequest:
      properties:
        workspace_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Workspace Id
        agent_thread_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Agent Thread Id
          description: Optional agent thread ID to associate this generation with.
        generation_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Generation Id
          description: Optional pre-reserved generation ID. If provided, this ID will be used instead of generating a new one. For batch operations (batch_size > 1), use generation_ids instead.
        generation_ids:
          anyOf:
          - items:
              type: string
              format: uuid
            type: array
          - type: 'null'
          title: Generation Ids
          description: Optional list of pre-reserved generation IDs for batch operations. Length must match batch_size. Mutually exclusive with generation_id.
        reserved_asset_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Reserved Asset Id
          description: Optional pre-reserved asset ID. Used as the produced media+asset resource_id so the client knows the asset's identity at request time. For batch operations (batch_size > 1), use reserved_asset_ids instead. Named distinctly from the response's `asset_id` (the produced asset) so the two don't collide across the request/response inheritance chain — mirrors generation_id (request) vs id (response).
        reserved_asset_ids:
          anyOf:
          - items:
              type: string
              format: uuid
            type: array
          - type: 'null'
          title: Reserved Asset Ids
          description: Optional list of pre-reserved asset IDs for batch operations. Length must match batch_size, parallel to generation_ids. Mutually exclusive with reserved_asset_id.
        type:
          type: string
          const: video_to_video
          title: Type
          default: video_to_video
        ai_model_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Ai Model Id
          description: Deprecated. Use `model_slug` to select the video-to-video model.
          deprecated: true
        model_slug:
          anyOf:
          - type: string
          - type: 'null'
          title: Model Slug
          description: The slug of the model to use. Alternative to `ai_model_id`.
        video_id:
          type: string
          format: uuid
          title: Video Id
          description: The id of the video asset to transform.
        prompt:
          type: string
          title: Prompt
          description: Natural language transformation instructions. Use @Element1, @Image1 syntax to reference elements and images.
        reference_image_asset_ids:
          anyOf:
          - items:
              type: string
              format: uuid
            type: array
          - type: 'null'
          title: Reference Image Asset Ids
          description: Optional ids of reference image assets for style transfer. Reference as @Image1, @Image2, etc. in prompt.
        elements:
          anyOf:
          - items:
              $ref: '#/components/schemas/KlingEditElement'
            type: array
          - type: 'null'
          title: Elements
          description: Optional elements for character tracking. Reference as @Element1, @Element2, etc. in prompt.
        keep_audio:
          type: boolean
          title: Keep Audio
          description: Whether to preserve the original audio from the input video. Automatically disabled when generate_audio is enabled.
          default: true
      type: object
      required:
      - video_id
      - prompt
      title: GenerateVideoToVideoRequest
      description: 'Video-to-video edit request for Kling O1 Edit model.

        Transforms videos using natural language while preserving motion.'
    NormalizedPoint:
      prefixItems:
      - type: number
        maximum: 1.0
        minimum: 0.0
        title: X
        description: Normalized x coordinate.
      - type: number
        maximum: 1.0
        minimum: 0.0
        title: Y
        description: Normalized y coordinate.
      type: array
      maxItems: 2
      minItems: 2
    GenerateSpeechToSpeechRequest:
      properties:
        workspace_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Workspace Id
        agent_thread_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Agent Thread Id
          description: Optional agent thread ID to associate this generation with.
        generation_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Generation Id
          description: Optional pre-reserved generation ID. If provided, this ID will be used instead of generating a new one. For batch operations (batch_size > 1), use generation_ids instead.
        generation_ids:
          anyOf:
          - items:
              type: string
              format: uuid
            type: array
          - type: 'null'
          title: Generation Ids
          description: Optional list of pre-reserved generation IDs for batch operations. Length must match batch_size. Mutually exclusive with generation_id.
        reserved_asset_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Reserved Asset Id
          description: Optional pre-reserved asset ID. Used as the produced media+asset resource_id so the client knows the asset's identity at request time. For batch operations (batch_size > 1), use reserved_asset_ids instead. Named distinctly from the response's `asset_id` (the produced asset) so the two don't collide across the request/response inheritance chain — mirrors generation_id (request) vs id (response).
        reserved_asset_ids:
          anyOf:
          - items:
              type: string
              format: uuid
            type: array
          - type: 'null'
          title: Reserved Asset Ids
          description: Optional list of pre-reserved asset IDs for batch operations. Length must match batch_size, parallel to generation_ids. Mutually exclusive with reserved_asset_id.
        type:
          type: string
          const: speech_to_speech
          title: Type
          default: speech_to_speech
        audio_id:
          type: string
          format: uuid
          title: Audio Id
          description: The id of the audio asset requiring sound isolation.
        ai_model_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Ai Model Id
          description: Deprecated. Use `model_slug` to select the speech-to-speech model.
          deprecated: true
        model_slug:
          anyOf:
          - type: string
          - type: 'null'
          title: Model Slug
          description: The slug of the model to use for audio isolation. Alternative to `ai_model_id`.
        voice_id:
          type: string
          format: uuid
          title: Voice Id
          description: The id of the Voice to use.
      type: object
      required:
      - audio_id
      - voice_id
      title: GenerateSpeechToSpeechRequest
    GeneratedImage:
      properties:
        type:
          type: string
          const: generated_image
          title: Type
          default: generated_image
        width:
          type: integer
          title: Width
          description: Width of the image.
        height:
          type: integer
          title: Height
          description: Height of the image.
        url:
          type: string
          title: Url
          description: URL of the image.
        generated_image_inputs:
          $ref: '#/components/schemas/GeneratedImageInputs'
          description: Inputs for generating the image.
      type: object
      required:
      - width
      - height
      - url
      - generated_image_inputs
      title: GeneratedImage
    GenerateTextToSoundResponse:
      properties:
        workspace_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Workspace Id
        agent_thread_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Agent Thread Id
          description: Optional agent thread ID to associate this generation with.
        generation_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Generation Id
          description: Optional pre-reserved generation ID. If provided, this ID will be used instead of generating a new one. For batch operations (batch_size > 1), use generation_ids instead.
        generation_ids:
          anyOf:
          - items:
              type: string
              format: uuid
            type: array
          - type: 'null'
          title: Generation Ids
          description: Optional list of pre-reserved generation IDs for batch operations. Length must match batch_size. Mutually exclusive with generation_id.
        reserved_asset_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Reserved Asset Id
          description: Optional pre-reserved asset ID. Used as the produced media+asset resource_id so the client knows the asset's identity at request time. For batch operations (batch_size > 1), use reserved_asset_ids instead. Named distinctly from the response's `asset_id` (the produced asset) so the two don't collide across the request/response inheritance chain — mirrors generation_id (request) vs id (response).
        reserved_asset_ids:
          anyOf:
          - items:
              type: string
              format: uuid
            type: array
          - type: 'null'
          title: Reserved Asset Ids
          description: Optional list of pre-reserved asset IDs for batch operations. Length must match batch_size, parallel to generation_ids. Mutually exclusive with reserved_asset_id.
        type:
          type: string
          const: text_to_sound
          title: Type
          default: text_to_sound
        ai_model_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Ai Model Id
          description: Deprecated. Use `model_slug` to select the sound effect model.
          deprecated: true
        model_slug:
          anyOf:
          - type: string
          - type: 'null'
          title: Model Slug
          description: The slug of the model to use for sound effect generation. Alternative to `ai_model_id`.
        text:
          type: string
          minLength: 1
          title: Text
          description: The text description of the sound effect to generate.
        duration_seconds:
          anyOf:
          - type: number
            maximum: 30.0
            minimum: 0.5
          - type: 'null'
          title: Duration Seconds
          description: The duration of the sound effect in seconds (0.5-30). If not specified, duration is automatically determined from the prompt.
        prompt_influence:
          anyOf:
          - type: number
            maximum: 1.0
            minimum: 0.0
          - type: 'null'
          title: Prompt Influence
          description: Controls how strictly the model follows the prompt (0-1). Higher values mean more literal interpretation. Defaults to 0.3.
        loop:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Loop
          description: Whether to create a sound effect that loops smoothly. Only available for the eleven_text_to_sound_v2 model.
        output_format:
          anyOf:
          - type: string
          - type: 'null'
          title: Output Format
          description: Output format of the generated audio. Formatted as codec_sample_rate_bitrate (e.g., mp3_22050_32, mp3_44100_128, pcm_44100). If not specified, defaults to mp3_44100_128.
          default: mp3_44100_128
        id:
          type: string
          format: uuid
          title: Id
          description: The id of the generation created.
        asset_id:
          type: string
          format: uuid
          title: Asset Id
          description: The id of the audio asset resulting from the generation.
        created_at:
          type: string
          title: Created At
          description: Date the generation was submitted.
        status:
          $ref: '#/components/schemas/GenerationStatus'
          description: Status of the generation
        progress:
          type: number
          title: Progress
          description: Current progress to completion. Between 0-1
        eta_sec:
          anyOf:
          - type: integer
          - type: 'null'
          title: Eta Sec
          description: Estimated time until completion in seconds. May be None if no historical data available.
      type: object
      required:
      - text
      - id
      - asset_id
      - created_at
      - status
      - progress
      title: GenerateTextToSoundResponse
    BatchImageResultItem:
      properties:
        id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Id
          description: The id of the generation created. None if failed.
        asset_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Asset Id
          description: The id of the image asset. Set even on failure when the client reserved an asset id; None only when no id was reserved.
        created_at:
          type: string
          title: Created At
          description: Date the generation was submitted.
        status:
          $ref: '#/components/schemas/GenerationStatus'
          description: Status of the generation
        progress:
          type: number
          title: Progress
          description: Current progress to completion. Between 0-1
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
          description: Error message if this item failed.
      type: object
      required:
      - created_at
      - status
      - progress
      title: BatchImageResultItem
      description: Individual result item in a batch image generation.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    GenerateVideoRequest:
      properties:
        workspace_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Workspace Id
        agent_thread_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Agent Thread Id
          description: Optional agent thread ID to associate this generation with.
        generation_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Generation Id
          description: Optional pre-reserved generation ID. If provided, this ID will be used instead of generating a new one. For batch operations (batch_size > 1), use generation_ids instead.
        generation_ids:
          anyOf:
          - items:
              type: string
              format: uuid
            type: array
          - type: 'null'
          title: Generation Ids
          description: Optional list of pre-reserved generation IDs for batch operations. Length must match batch_size. Mutually exclusive with generation_id.
        reserved_asset_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Reserved Asset Id
          description: Optional pre-reserved asset ID. Used as the produced media+asset resource_id so the client knows the asset's identity at request time. For batch operations (batch_size > 1), use reserved_asset_ids instead. Named distinctly from the response's `asset_id` (the produced asset) so the two don't collide across the request/response inheritance chain — mirrors generation_id (request) vs id (response).
        reserved_asset_ids:
          anyOf:
          - items:
              type: string
              format: uuid
            type: array
          - type: 'null'
          title: Reserved Asset Ids
          description: Optional list of pre-reserved asset IDs for batch operations. Length must match batch_size, parallel to generation_ids. Mutually exclusive with reserved_asset_id.
        type:
          type: string
          const: video
          title: Type
          default: video
        name:
          anyOf:
          - type: string
            maxLength: 255
          - type: 'null'
          title: Name
          description: Optional human-friendly name for the generated asset.
        ai_model_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Ai Model Id
          description: Deprecated. Use `model_slug` to select the model.
          deprecated: true
        model_slug:
          anyOf:
          - type: string
          - type: 'null'
          title: Model Slug
          description: Slug of the model to use for the generation. Alternative to `ai_model_id`.
        start_keyframe_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Start Keyframe Id
          description: The id of the Image asset to use as the start keyframe.
        start_keyframe_url:
          anyOf:
          - type: string
            maxLength: 2083
            minLength: 1
            format: uri
          - type: 'null'
          title: Start Keyframe Url
          description: The URL of the image to use as the start keyframe.
        end_keyframe_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: End Keyframe Id
          description: The id of the Image asset to use as the end keyframe.
        end_keyframe_url:
          anyOf:
          - type: string
            maxLength: 2083
            minLength: 1
            format: uri
          - type: 'null'
          title: End Keyframe Url
          description: The URL of the image to use as the end keyframe.
        audio_id:
          anyOf:
          - type: string
            format: uuid
          - items:
              type: string
              format: uuid
            type: array
          - type: 'null'
          title: Audio Id
          description: The id of the Audio asset to use, or a list of ids for multi-speaker generation.
        audio_generation:
          anyOf:
          - $ref: '#/components/schemas/GenerateTextToSpeechRequest'
          - type: 'null'
          description: Optional TTS parameters for server-side audio generation. If provided (and audio_id is not), audio will be generated from these params before video generation.
        audio_start_ms:
          anyOf:
          - type: integer
          - type: 'null'
          title: Audio Start Ms
          description: Audio start offset in milliseconds. Negative values prepend silence (e.g., -1000 adds 1s silence before audio). Positive values crop from the beginning of the source audio (e.g., 2000 skips the first 2s). Use with generated_video_inputs.duration_ms to control total output length.
        reference_audio_ids:
          anyOf:
          - items:
              type: string
              format: uuid
            type: array
          - type: 'null'
          title: Reference Audio Ids
          description: The id(s) of the audio(s) to reference in the generation.
        reference_image_ids:
          anyOf:
          - items:
              type: string
              format: uuid
            type: array
          - type: 'null'
          t

# --- truncated at 32 KB (157 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/hedra/refs/heads/main/openapi/hedra-public-api-openapi.yml