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

# Create a video

> Solara AI API: Makes a video from a completed upload in the chosen style. Solara cuts, captions and styles it in a few minutes; follow it with Get a video. Send an `Idempotency-Key` so a retry never makes a second video.

Permission: **Edit** (`edit`).



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/projects
openapi: 3.1.0
info:
  title: Solara AI API
  version: '1'
  description: >-
    Make and edit videos with an API key. Every operation here accepts a key;
    everything else in Solara is for people in the app. Generated from the
    backend by tools/docs/build-public-spec.ts.
servers:
  - url: https://api.solaraai.com
    description: Production
security:
  - ApiKeyBearer: []
tags:
  - name: Styles
    description: The looks a video can be made in.
  - name: Upload
    description: Send a recording to Solara in parts.
  - name: Footage
    description: >-
      The person's own photos and clips, shown as b-roll on the lines that
      mention them. Add each one after the recording's upload and before Create
      a video: footage added after the video is made isn't placed in it.
  - name: Videos
    description: Make a video from an upload and follow it.
  - name: Editing
    description: Read and change an edit. Editing is free and never renders.
  - name: Export
    description: >-
      Render the final video and download it. An export uses one of the plan's
      videos.
  - name: Calendar
    description: >-
      What posts when, how each post went, and what is ready to post. Read only:
      moving, retrying or deleting a post is the person's, in Solara.
  - name: Performance
    description: >-
      How the workspace's posts are doing: each platform's own numbers, read on
      a schedule, never live. YouTube's and Threads' numbers are not shared with
      an API key; X's come with a plan; LinkedIn isn't measured yet.
  - name: Posting
    description: >-
      Ask the person to approve a post: they approve in Solara, and nothing
      posts before. Needs the Ask to post permission, which an AI agent gets
      when the person allows it; keys made in the app do not have it.
paths:
  /api/v1/projects:
    post:
      tags:
        - Videos
      summary: Create a video
      description: >-
        Makes a video from a completed upload in the chosen style. Solara cuts,
        captions and styles it in a few minutes; follow it with Get a video.
        Send an `Idempotency-Key` so a retry never makes a second video.


        Permission: **Edit** (`edit`).
      operationId: create-project
      parameters:
        - description: >-
            Retry-safe create: the same key and body within 24 h answer the
            first create, and make no second project
          in: header
          name: Idempotency-Key
          schema:
            description: >-
              Retry-safe create: the same key and body within 24 h answer the
              first create, and make no second project
            maxLength: 128
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateProjectInputBody'
            example:
              upload_id: <upload_id>
              source_duration_ms: 31500
              title: Runner tips
              settings:
                edit_style: <style id from List styles>
                prompt: A 30-second tip for new runners
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateProjectOutputBody'
          description: Created
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      security:
        - ApiKeyBearer: []
components:
  schemas:
    CreateProjectInputBody:
      additionalProperties: false
      type: object
      properties:
        settings:
          $ref: '#/components/schemas/ProjectSettingsBody'
        source_duration_ms:
          description: As the browser read it
          format: int64
          minimum: 1
          type: integer
        source_height:
          description: The source's display height (rotation applied); see source_width
          format: int64
          maximum: 16384
          minimum: 1
          type: integer
        source_width:
          description: >-
            The source's display width (rotation applied), as the browser or
            ffprobe read it. With source_height it picks the frame when settings
            name no aspect. Absent: unknown (9:16)
          format: int64
          maximum: 16384
          minimum: 1
          type: integer
        title:
          description: >-
            Absent: the name of the file Solara fetched from a link
            (create-project-upload-from-url), without its extension, else
            Untitled
          maxLength: 200
          type: string
        upload_id:
          description: A completed manual-post upload of kind video
          type: string
        wait_for_start:
          description: >-
            Hold the project on its plan card until start-project. The analysis
            runs, and the free project is spent, exactly as without it
          type: boolean
      required:
        - upload_id
        - source_duration_ms
        - settings
    CreateProjectOutputBody:
      additionalProperties: false
      type: object
      properties:
        ai_clips:
          $ref: '#/components/schemas/ClipCounts'
          description: >-
            While the workspace has AI clips and the video has b-roll: its AI
            clips today and the workspace's this month, against their caps.
            Absent: none
        run_id:
          format: uuid
          type: string
        state:
          type: string
        video_id:
          format: uuid
          type: string
        watermark:
          description: 'Deprecated: always false; renders are never watermarked'
          type: boolean
      required:
        - video_id
        - run_id
        - state
        - watermark
    ErrorModel:
      additionalProperties: false
      type: object
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
          description: >-
            Names a customer-visible error, for the app to translate; absent on
            other errors
        detail:
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem.
          examples:
            - Property foo is required but is missing.
          type: string
        errors:
          description: Optional list of individual error details
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type:
            - array
            - 'null'
        instance:
          description: >-
            A URI reference that identifies the specific occurrence of the
            problem.
          examples:
            - https://example.com/error-log/abc123
          format: uri
          type: string
        status:
          description: HTTP status code
          examples:
            - 400
          format: int64
          type: integer
        title:
          description: >-
            A short, human-readable summary of the problem type. This value
            should not change between occurrences of the error.
          examples:
            - Bad Request
          type: string
        type:
          default: about:blank
          description: A URI reference to human-readable documentation for the error.
          examples:
            - https://example.com/errors/example
          format: uri
          type: string
    ProjectSettingsBody:
      additionalProperties: false
      type: object
      properties:
        accent_color:
          description: >-
            Only on a style that takes an accent (none since bold, paper and
            pulse retired). Absent: recommended. Changing it never re-plans
          pattern: ^#[0-9a-fA-F]{6}$
          type: string
        added:
          description: >-
            Items the customer added: sounds on words, and picture blocks (kind
            media: a full-screen picture over startMs-endMs on the plan's clock,
            at most 50, none over another)
          items:
            $ref: '#/components/schemas/AddedItem'
          maxItems: 500
          type:
            - array
            - 'null'
        aspect:
          description: >-
            The video's frame: 9:16 (vertical) or 16:9 (landscape, 1920x1080).
            Absent on a new project: its source's orientation
            (source_width/source_height: at least 4:3 wide is 16:9) while the
            workspace has the landscape switch, else 9:16. update-project-plan's
            aspect changes it: the same cut drawn in the other frame, never a
            re-plan (the next export renders it), except over a video made
            before the frame became a setting, which re-plans once
            (reedit-project or the next export); every other save keeps it. 16:9
            is offered only to workspaces with the landscape switch; others get
            422
          enum:
            - '9:16'
            - '16:9'
          type: string
        audio_mode:
          description: >-
            The export's voice: original (the recording, one loudness gain) or
            enhanced (Enhance voice: denoise and voice cleanup). Absent:
            original. Changing it never re-plans
          enum:
            - original
            - enhanced
          type: string
        auto_trim:
          description: 'Absent: recommended'
          type: boolean
        background_music:
          $ref: '#/components/schemas/MusicSetting'
          description: >-
            Background music: on/off (off by default), mood, volume and the
            pinned version. Changing it never re-plans; turning it on makes a
            track in the background (get-project-music)
        broll:
          description: >-
            Stock and AI clips (b-roll) on the lines that name a thing: false
            turns them off for this video. Absent: on, wherever the workspace
            has AI clips (broll_ai_clips). Naming it without them is 422
            ai_clips_off. A director knob: changing it re-plans
          type: boolean
        caption_preset:
          description: >-
            One of the caption styles, on any edit style. Absent: the edit
            style's own (plain: glide-sans). Changing it never re-plans
          maxLength: 64
          type: string
        caption_words:
          description: >-
            Word fixes: text, emphasis, colour, line breaks, words taken out or
            put in. Absent: the words as transcribed. Changing them never
            re-plans
          items:
            $ref: '#/components/schemas/CaptionWordEdit'
          maxItems: 2000
          type:
            - array
            - 'null'
        captions:
          $ref: '#/components/schemas/Captions'
          description: >-
            Caption customisation over the caption style, on any edit style.
            Absent: the style as designed. Changing it never re-plans
        clip_model:
          description: >-
            The model this video's AI clips are made with, by the edit and by
            fill-project-shot's clip without a model: shown with every clip,
            never switched. Absent: gemini-omni-flash. Naming it without AI
            clips (broll_ai_clips) is 422 ai_clips_off. Never re-plans: it names
            the model of the clips made from now on
          enum:
            - gemini-omni-flash
            - minimax-h3-max
            - minimax-h3-max-turbo
          type: string
        cut_style:
          description: >-
            The style the video is cut with (its shots, pacing and framing) when
            it is not edit_style; a retired style (bold, paper, pulse) only
            here, never as edit_style. Absent: edit_style. Reset it (reset
            cut_style) to re-cut in edit_style on the next export
          maxLength: 64
          pattern: ^[a-z][a-z0-9-]*$
          readOnly: true
          type: string
        edit_style:
          description: >-
            The style the video is painted in: an edit style of the product
            catalogue. Once it is cut, changing it never re-plans: the new style
            paints over the cut. A project saved on a retired style (bold,
            paper, pulse) reads as its successor, the old id kept as cut_style
          maxLength: 64
          pattern: ^[a-z][a-z0-9-]*$
          type: string
        footage:
          $ref: '#/components/schemas/Footage'
          description: >-
            The parts of the recording the video keeps, on the spine's clock: a
            gap between clips is removed and closed up. Absent: the whole
            recording. Changing it never re-plans
        intensity:
          description: 'Absent: recommended'
          enum:
            - auto
            - light
            - medium
            - heavy
          type: string
        items:
          additionalProperties:
            $ref: '#/components/schemas/ItemOverride'
          description: >-
            Overrides of the AI's items, by item id. Changing them never
            re-plans
          type: object
        lanes:
          $ref: '#/components/schemas/LaneOverrides'
          description: >-
            Detached lanes (zooms, sfx): drawn from these lists, no longer
            derived
        look:
          $ref: '#/components/schemas/Look'
          description: >-
            The video's colour look: one of the engine's named looks
            (docs/schema/looks.json) by id, and its strength 0..1 (absent: the
            look's own). Absent: the footage as filmed. Changing it never
            re-plans
        music:
          $ref: '#/components/schemas/Music'
          description: >-
            The music block: the customer's upload, or the generated track and
            its mix (volume, duck, fades, start)
        palette:
          description: >-
            One of the edit style's colour presets (product catalogue palettes).
            Absent: the style's default palette. Changing it never re-plans;
            changing the edit style drops it
          maxLength: 64
          pattern: ^[a-z][a-z0-9-]*$
          type: string
        pause_ms:
          description: >-
            How long each pause the cut keeps plays, in ms (edit_timing).
            Absent: today's cut (Natural, 300 ms, reads as absent). Changing it
            re-plans
          format: int64
          maximum: 500
          minimum: 50
          type: integer
        prompt:
          maxLength: 1000
          type: string
        scene_edits:
          $ref: '#/components/schemas/SceneEdits'
          description: >-
            Scene edits: swap, remove or re-transition a scene, and the AI
            zoom/scene toggles. Absent: the director's cut. Changing them never
            re-plans
        schema_version:
          description: >-
            The document's version: 9 while the video has a colour look, else 4
            to 8 while it holds a picture block (8 a clip's speed, 7 a block's
            look, 6 a clip, 5 a frame), else 3 while it keeps footage, else 2
            once it has a timeline block. An app that knows an older version
            opens it read-only
          format: int64
          readOnly: true
          type: integer
        speaker_poster:
          description: >-
            The painted poster of the speaker, on a style whose hook draws one
            (neon-coast): false switches it off for this video, and the hook
            shows the speaker's own frame; true, back on. Absent: on. Painted
            after the edit is ready, never for a frame with two or more people
            or a possible minor, nor for a revision written for a caller Solara
            makes no media for. Naming it while the deployment does not offer
            the poster is 422 speaker_poster_off. Never re-plans
          type: boolean
        speed:
          description: >-
            How fast the video plays, the voice's pitch kept (edit_timing).
            Absent: 1x. Changing it never re-plans: the preview plays the same
            cut faster or slower at once, and the export matches it; every time
            in the document stays on the 1x clock, and the music keeps its tempo
          format: double
          maximum: 4
          minimum: 0.25
          type: number
        voice_gain_db:
          description: >-
            Voice volume: the voice this many dB off its -14 LUFS level, -12 to
            6 in steps of 0.5; the export raises a louder one through a
            true-peak limiter, never clipped. Absent or 0: the voice as made.
            With Enhance voice on (audio_mode enhanced) the loudest is 2: a
            saved 5 plays as 2. Changing it never re-plans
          format: double
          maximum: 6
          minimum: -12
          multipleOf: 0.5
          type: number
      required:
        - edit_style
    ClipCounts:
      additionalProperties: false
      type: object
      properties:
        per_day:
          format: int64
          type: integer
        per_month:
          format: int64
          type: integer
        plan_required:
          description: >-
            The workspace's plan has no AI clips (a free workspace): none is
            allowed, and per_day and per_month are 0. Stock clips and pictures
            still work. Absent: a paid plan
          type: boolean
        used_month:
          format: int64
          type: integer
        used_today:
          format: int64
          type: integer
      required:
        - used_today
        - per_day
        - used_month
        - per_month
    ErrorCode:
      description: >-
        A stable name for a customer-visible error; the app translates it.
        Absent on other errors.
      enum:
        - invalid_credentials
        - invalid_or_expired
        - too_many_attempts
        - resend_too_soon
        - email_taken
        - invalid_phone
        - temporarily_unavailable
        - turnstile_failed
        - email_unchanged
        - phone_unchanged
        - account_deletion_unavailable
        - project_not_found
        - plan_changed
        - subscription_required
        - restyle_limit
        - fill_limit
        - export_limit
        - ask_limit
        - music_limit
        - music_unavailable
        - free_limit
        - plan_required
        - allowance_used
        - not_exported
        - not_editable
        - earlier_cut
        - invalid_edit
        - edit_timing_off
        - landscape_off
        - speaker_poster_off
        - reedit_off
        - music_off
        - animated_off
        - animated_locked
        - animation_pending
        - caption_style_unfit
        - animated_colors_fixed
        - animated_too_long
        - speed_too_slow
        - animated_allowance_used
        - animated_plan_required
        - redraw_limit
        - cap_workspace
        - cap_workspace_drawing
        - cap_global
        - attachment_video
        - attachment_too_big
        - attachment_missing
        - attachment_limit
        - attachment_too_long
        - ask_busy
        - plan_not_for_sale
        - not_entitled
        - plan_change_unavailable
        - not_for_sale
        - same_plan
        - resume_required
        - upgrade_pending
        - quote_expired
        - no_pending_upgrade
        - exit_offer_ended
        - campaign_offer_ended
        - post_publishing
        - post_already_ended
        - post_not_ended
        - post_preparing
        - post_not_retryable
        - post_needs_reconnect
        - post_may_be_live
        - text_post_needs_media
        - caption_required
        - caption_too_long
        - caption_ai_limit
        - caption_ai_no_source
        - caption_ai_failed
        - caption_ai_unavailable
        - caption_ai_no_room
        - caption_ai_listening
        - upload_words_limit
        - company_not_found
        - linkedin_needs_reconnect
        - youtube_off
        - youtube_not_short
        - youtube_too_large
        - scope_not_offered
        - x_off
        - x_video_refused
        - threads_off
        - threads_video_refused
        - pinterest_off
        - pinterest_video_refused
        - pinterest_business_account_needed
        - pinterest_needs_reconnect
        - google_business_off
        - google_business_needs_reconnect
        - google_business_video_refused
        - google_business_location_not_found
        - google_business_ended
        - bluesky_off
        - bluesky_video_refused
        - linkedin_page_off
        - linkedin_page_needs_reconnect
        - linkedin_page_not_found
        - facebook_video_refused
        - photo_unfittable
        - intake_not_found
        - intake_not_complete
        - intake_limit
        - intake_not_configured
        - intake_invalid
        - api_key_invalid
        - api_key_revoked
        - api_key_not_allowed
        - insufficient_scope
        - agent_api_off
        - agent_only
        - api_key_limit
        - api_key_daily_limit
        - idempotency_in_progress
        - idempotency_key_reused
        - publish_request_expired
        - publish_request_edited
        - publish_request_decided
        - publish_request_pending
        - video_not_postable
        - text_posts_waiting
        - publish_request_daily_limit
        - video_format_not_supported
        - photo_posts_waiting
        - upload_not_ready
        - tiktok_option_not_allowed
        - workspace_owner_only
        - oauth_off
        - oauth_request_expired
        - oauth_client_gone
        - oauth_device_code_unknown
        - oauth_request_not_yours
        - url_not_allowed
        - url_not_public
        - url_unreachable
        - not_a_video
        - video_too_large
        - video_too_long
        - url_fetches_busy
        - url_fetch_daily_limit
        - upload_incomplete
        - upload_used
        - broll_off
        - media_limit
        - media_daily_limit
        - media_too_large
        - media_too_long
        - media_not_supported
        - ai_clips_off
        - clip_limit
        - ai_clips_plan_required
        - clip_refusal_limit
        - stock_clip_limit
        - auto_edit_off
        - auto_edit_limit
        - auto_edit_locked
        - auto_edit_files_missing
        - auto_edit_busy
        - auto_edit_cutting
        - picture_blocks_off
        - picture_pending
        - block_too_long
        - footage_not_ready
        - block_is_clip
        - crop_size_unknown
        - no_speech
        - no_audio
        - feedback_unavailable
        - feedback_not_sent
        - feedback_rate_limited
        - duplicate_post
        - video_has_post
        - several_posts
        - post_in_old_format
        - x_same_text
        - youtube_already_posted
        - use_create_post
        - publish_requests_waiting
        - post_analytics_needs_plan
        - workspace_suspended
        - support_view_ended
        - support_view_read_only
      type: string
    ErrorDetail:
      additionalProperties: false
      type: object
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
    AddedItem:
      additionalProperties: false
      type: object
      properties:
        assetId:
          type: string
        crop:
          $ref: '#/components/schemas/BlockCrop'
          description: >-
            The part of the picture shown (schema 7); the box takes its shape.
            Needs a frame and the picture's size (422 crop_size_unknown)
        cue:
          type: string
        endMs:
          format: int64
          type: integer
        fit:
          description: >-
            Over the whole frame: fill (absent) covers it, fit shows the whole
            picture. A framed box takes the picture's shape, so both draw the
            same
          enum:
            - fill
            - fit
          type: string
        flipX:
          description: >-
            true only: the picture mirrored left to right inside its box (schema
            7). Never automatic in a right-to-left video
          type: boolean
        flipY:
          description: 'true only: the picture upside down inside its box (schema 7)'
          type: boolean
        frame:
          $ref: '#/components/schemas/BlockFrame'
          description: >-
            A block's box: its centre and size as fractions of the frame (schema
            5). Absent: the whole frame
        id:
          type: string
        kind:
          enum:
            - sfx
            - media
          type: string
        offsetMs:
          format: int64
          type: integer
        opacity:
          description: >-
            0 to under 1, never 1 (schema 7): the speaker shows through. Absent:
            opaque
          format: double
          maximum: 1
          minimum: 0
          type: number
        rotation:
          description: >-
            Degrees clockwise about the box's centre, -180..180, never 0 (schema
            7). Needs a frame
          format: double
          maximum: 180
          minimum: -180
          type: number
        shadow:
          description: >-
            true only: one soft shadow round the box, the brand's (schema 7).
            Needs a frame
          type: boolean
        speed:
          description: >-
            A clip block's speed, 0.25..4 in whole hundredths, never 1 (schema
            8): the clip plays that much faster, its pitch kept, and the block
            is the clip it plays divided by it. Absent: 1x. Only a block that
            names a clip (own-…) has one
          format: double
          maximum: 4
          minimum: 0.25
          type: number
        startMs:
          format: int64
          type: integer
        volume:
          description: >-
            A clip block's sound, 0 (off) to 1; absent: 1. Only a block that
            names a clip (own-…) has one
          format: double
          maximum: 1
          minimum: 0
          type: number
        wordId:
          type: string
      required:
        - kind
        - id
    MusicSetting:
      additionalProperties: false
      type: object
      properties:
        enabled:
          description: >-
            Background music on. Off by default; a render setting that never
            re-plans
          type: boolean
        generation_id:
          description: >-
            The version to use (a music generation id); absent: the newest ready
            one
          maxLength: 36
          type: string
        mood:
          description: 'Absent or auto: chosen from the video'
          enum:
            - auto
            - calm
            - upbeat
            - inspiring
            - cinematic
            - playful
          type: string
        provider:
          description: 'The model that makes the automatic tracks; absent: the default'
          enum:
            - elevenlabs
            - lyria
          type: string
        volume_db:
          description: The music's level against its default, dB
          format: double
          maximum: 6
          minimum: -12
          type: number
      required:
        - enabled
    CaptionWordEdit:
      additionalProperties: false
      type: object
      properties:
        added:
          description: Words added after this one; they share its time
          items:
            $ref: '#/components/schemas/AddedCaptionWord'
          maxItems: 10
          type:
            - array
            - 'null'
        color:
          description: The word's own colour
          pattern: ^#[0-9a-fA-F]{6}$
          type: string
        emoji:
          description: >-
            One emoji the word carries, over the AI's pick; empty: none. Absent:
            the AI's pick
          maxLength: 16
          type: string
        emphasis:
          description: 'true: emphasised, false: not. Absent: the AI''s pick'
          type: boolean
        highlight:
          description: >-
            The caption style's highlight slot the word is painted in; none:
            never. Absent: the AI's pick
          enum:
            - primary
            - second
            - third
            - none
          type: string
        id:
          description: The transcript word's id
          maxLength: 64
          minLength: 1
          type: string
        lineBreak:
          description: >-
            A new caption line starts after this word. With no pageBreak key
            beside it (a mark saved before the two were separated) it also ends
            the page
          type: boolean
        pageBreak:
          description: >-
            true: a new caption page starts after this word (Split). false: it
            does not, so a lineBreak beside it stays on the page
          type: boolean
        removed:
          description: Taken out of the captions (the audio stays)
          type: boolean
        text:
          description: 'The fixed word: one word, its timing kept'
          maxLength: 60
          minLength: 1
          pattern: ^\S+$
          type: string
        unsure:
          description: >-
            Only false: the customer checked a word the caption check marked
            unsure, so it is no longer one to check
          type: boolean
        was:
          description: >-
            The word as transcribed; the edit applies only while it still reads
            this
          maxLength: 200
          type: string
      required:
        - id
        - was
    Captions:
      additionalProperties: false
      type: object
      properties:
        activeWord:
          enum:
            - color
            - box
            - none
          type: string
        animation:
          enum:
            - none
            - fade
            - pop
            - slide
            - impactSlam
            - softBlur
          type: string
        boxColor:
          pattern: ^#[0-9a-fA-F]{6}$
          type: string
        emoji:
          enum:
            - 'off'
            - auto
            - top
          type: string
        emojiMotion:
          enum:
            - animated
            - bounce
            - still
          type: string
        fontFamily:
          enum:
            - oswald
            - poppins
            - space-mono
            - abril-fatface
            - inter
            - montserrat-italic
            - great-vibes
            - montserrat
            - lato
            - open-sans
            - raleway
            - nunito
            - ubuntu
            - bebas-neue
            - playfair-display
            - playfair-display-italic
            - dm-sans
            - archivo-black
            - luckiest-guy
            - instrument-sans
            - instrument-serif-italic
            - yellowtail
            - kaushan-script
          type: string
        fontSize:
          format: double
          maximum: 150
          minimum: 30
          type: number
        fontWeight:
          format: int64
          maximum: 900
          minimum: 100
          multipleOf: 100
          type: integer
        hidePunctuation:
          type: boolean
        highlightColor:
          pattern: ^#[0-9a-fA-F]{6}$
          type: string
        keywordHighlight:
          type: boolean
        linesPerPage:
          format: int64
          maximum: 3
          minimum: 1
          type: integer
        positionY:
          format: double
          maximum: 0.9
          minimum: 0.1
          type: number
        shadowColor:
          pattern: ^#[0-9a-fA-F]{6}$
          type: string
        speed:
          format: double
          maximum: 4
          minimum: 0.25
          type: number
        strokeColor:
          pattern: ^#[0-9a-fA-F]{6}$
          type: string
        textCase:
          enum:
            - none
            - upper
            - lower
            - title
          type: string
        textColor:
          pattern: ^#[0-9a-fA-F]{6}$
          type: string
        wordsPerPage:
          format: int64
          maximum: 12
          minimum: 1
          type: integer
    Footage:
      additionalProperties: false
      type: object
      properties:
        clips:
          description: >-
            The kept clips: sorted, never overlapping, each at least 3 frames,
            edges on the 30 fps frame grid
          items:
            $ref: '#/components/schemas/FootageClip'
          maxItems: 200
          minItems: 1
          type:
            - array
            - 'null'
      required:
        - clips
    ItemOverride:
      additionalProperties: false
      type: object
      properties:
        assetId:
          type: string
        cue:
          type: string
        emphasis:
          type: boolean
        endMs:
          format: int64
          type: integer
        fill:
          $ref: '#/components/schemas/ShotFill'
          description: >-
            What a shot restyled to another kind was given for the slots it
            lacked (P1.16)
        lane:
          enum:
            - story
            - captions
            - media
            - sfx
          type: string
        layer:
          description: A shot put behind the speaker (person matte), or back in front
          enum:
            - front
            - behindSubject
          type: string
        offsetMs:
          format: int64
          type: integer
        palette:
          description: >-
            One shot's colour preset: a palette id of the shot's style (the shot
            inspector's Colour)
          maxLength: 64
          pattern: ^[a-z][a-z0-9-]*$
          type: string
        peakMs:
          description: Where a sound's own file is loudest, ms from its start
          format: int64
          maximum: 3000
          minimum: 0
          type: integer
        posX:
          description: >-
            Where a caption page's horizontal centre sits, 0..1 of the frame
            width
          format: double
          maximum: 1
          minimum: 0
          type: number
        posY:
          description: Where a caption page's top sits, 0..1 of the frame height
          format: double
          maximum: 1
          minimum: 0
          type: number
        removed:
          type: boolean
        rotation:
          description: A caption page's turn, degrees clockwise
          format: double
          maximum: 180
          minimum: -180
          type: number
        scale:
          description: A caption page's continuous type scale; wins over size
          format: double
          maximum: 3
          minimum: 0.4
          type: number
        size:
          enum:
            - S
            - M
            - L
          type: string
        sourceStartMs:
          description: Where the item started in the source recording, ms
          format: int64
          minimum: 0
          type: integer
        startMs:
          format: int64
          type: integer
        style:
          type: string
        transition:
          type: string
        use:
          type: string
        variant:
          type: string
        volume:
          description: >-
            A sound's own playback volume, 0..1; absent, the level of the sound
            it plays
          format: double
          maximum: 1
          minimum: 0
          type: number
        was:
          description: What the item was when the customer changed it
          maxLength: 200
          minLength: 1
          type: string
        wordIds:
          description: >-
            A removed caption page's words, by transcript word id: they stay
            removed whatever the shot edges do to the page
          items:
            type: string
          maxItems: 64
          minItems: 1
          type:
            - array
            - 'null'
      required:
        - lane
        - was
        - sourceStartMs
    LaneOverrides:
      additionalProperties: false
      type: object
      properties:
        captions:
          $ref: '#/components/schemas/CaptionLane'
          description: 'Not a detached lane: the captions'' project-wide look (All lines)'
        sfx:
          $ref: '#/components/schemas/SFXLane'
        zooms:
          $ref: '#/components/schemas/ZoomLane'
    Look:
      additionalProperties: false
      type: object
      properties:
        id:
          description: >-
            A look id of the engine's named looks (docs/schema/looks.json); any
            other id is refused
          maxLength: 64
          minLength: 1
          type: string
        strength:
          description: 'How much of the look, 0 (as filmed) to 1; absent: the look''s own'
          format: double
          maximum: 1
          minimum: 0
          type: number
      required:
        - id
    Music:
      additionalProperties: false
      type: object
      properties:
        assetId:
          type: string
        duck:
          description: Lower under the voice; absent is on
          type: boolean
        duckDb:
          description: >-
            How far it ducks, dB; absent is 6. The editor and the render always
            use 6
          format: double
          maximum: 10
          minimum: 3
          type: number
        durationMs:
          description: The track's own length, ms
          format: int64
          type: integer
        fadeInMs:
          format: int64
          type: integer
        fadeOutMs:
          format: int64
          type: integer
        gainDb:
          format: double
          type: number
        generation:
          $ref: '#/components/schemas/MusicProvenance'
          description: A generated track's provenance
        loudnessLufs:
          description: >-
            The track's integrated loudness; known, gainDb moves the -26 LUFS-S
            bed
          format: double
          maximum: 0
          minimum: -70
          type: number
        rightsConfirmedAt:
          description: An upload's rights confirmation (required for an upload)
          format: date-time
          type: string
        source:
          description: 'generated: made for this video; absent or upload: the customer''s own'
          enum:
            - generated
            - upload
          type: string
        startMs:
          format: int64
          type: integer
        trimStartMs:
          format: int64
          type: integer
      required:
        - assetId
        - startMs
        - gainDb
    SceneEdits:
      additionalProperties: false
      type: object
      properties:
        autoScenes:
          description: 'false: the AI''s scenes are off, the speaker shows. Absent: they show'
          type: boolean
        edits:
          description: One record per scene changed
          items:
            $ref: '#/components/schemas/SceneEdit'
          maxItems: 500
          type:
            - array
            - 'null'
        soundEffects:
          description: 'false: no sound effects play. Absent: they play'
          type: boolean
        voice:
          description: 'false: the speaker''s voice is muted. Absent: it plays'
          type: boolean
        zoomCurve:
          description: 'The curve every zoom takes. Absent: the template''s own'
          enum:
            - instant
            - ease
            - linear
          type: string
        zoomLevel:
          description: >-
            none: the AI's zooms are off. high: more and bigger. Absent: medium,
            the template as designed
          enum:
            - none
            - medium
            - high
          type: string
    BlockCrop:
      additionalProperties: false
      type: object
      properties:
        h:
          description: The crop's height, 0.05..1 of the picture's; y + h at most 1
          format: double
          maximum: 1
          minimum: 0.05
          type: number
        w:
          description: The crop's width, 0.05..1 of the picture's; x + w at most 1
          format: double
          maximum: 1
          minimum: 0.05
          type: number
        x:
          description: The crop's left edge, 0..1 of the unflipped picture's width
          format: double
          maximum: 1
          minimum: 0
          type: number
        'y':
          description: The crop's top edge, 0..1 of the unflipped picture's height
          format: double
          maximum: 1
          minimum: 0
          type: number
      required:
        - x
        - 'y'
        - w
        - h
    BlockFrame:
      additionalProperties: false
      type: object
      properties:
        scale:
          description: >-
            The box's size: the picture, in its own shape, as large as fits in
            the frame × scale; 1 is still a box (only no frame is the whole
            frame), past 1 (schema 7) larger than the frame, which clips it
          format: double
          maximum: 3
          minimum: 0.2
          type: number
        x:
          description: The box's centre, 0..1 of the width, from the left (never mirrored)
          format: double
          maximum: 1
          minimum: 0
          type: number
        'y':
          description: The box's centre, 0..1 of the height, from the top
          format: double
          maximum: 1
          minimum: 0
          type: number
      required:
        - x
        - 'y'
        - scale
    AddedCaptionWord:
      additionalProperties: false
      type: object
      properties:
        color:
          pattern: ^#[0-9a-fA-F]{6}$
          type: string
        emphasis:
          type: boolean
        lineBreak:
          type: boolean
        pageBreak:
          type: boolean
        text:
          maxLength: 60
          minLength: 1
          pattern: ^\S+$
          type: string
      required:
        - text
    FootageClip:
      additionalProperties: false
      type: object
      properties:
        endMs:
          description: Where it ends, ms (a 30 fps frame edge)
          format: int64
          maximum: 3600000
          minimum: 0
          type: integer
        startMs:
          description: Where the clip starts on the spine's clock, ms (a 30 fps frame edge)
          format: int64
          maximum: 3600000
          minimum: 0
          type: integer
      required:
        - startMs
        - endMs
    ShotFill:
      additionalProperties: false
      type: object
      properties:
        media:
          additionalProperties:
            items:
              type: string
            type:
              - array
              - 'null'
          description: Asset ids per picture slot, by slot name (never URLs)
          type: object
        text:
          additionalProperties:
            type: string
          description: A title per text slot, by slot name
          type: object
    CaptionLane:
      additionalProperties: false
      type: object
      properties:
        look:
          $ref: '#/components/schemas/CaptionLook'
      required:
        - look
    SFXLane:
      additionalProperties: false
      type: object
      properties:
        items:
          items:
            $ref: '#/components/schemas/SFXSpec'
          type:
            - array
            - 'null'
      required:
        - items
    ZoomLane:
      additionalProperties: false
      type: object
      properties:
        items:
          items:
            $ref: '#/components/schemas/ZoomSpec'
          type:
            - array
            - 'null'
      required:
        - items
    MusicProvenance:
      additionalProperties: false
      type: object
      properties:
        brief:
          maxLength: 600
          type: string
        createdAt:
          format: date-time
          type: string
        generationId:
          format: uuid
          type: string
        model:
          maxLength: 64
          type: string
        provider:
          maxLength: 32
          type: string
      required:
        - generationId
        - provider
        - model
        - createdAt
    SceneEdit:
      additionalProperties: false
      type: object
      properties:
        id:
          description: The scene's id in the plan (b3)
          maxLength: 64
          minLength: 1
          type: string
        show:
          description: >-
            scene: keep it even with the AI's scenes off; speaker: give way to
            the speaker; zoom: give way with a zoom punch
          enum:
            - scene
            - speaker
            - zoom
          type: string
        transition:
          description: How the scene enters. The kind's policy may still clamp it
          maxLength: 64
          minLength: 1
          type: string
        use:
          description: The kind of one of the scene's alternates to draw instead
          maxLength: 64
          minLength: 1
          type: string
        was:
          description: >-
            The kind the plan placed there; the edit applies only while the
            scene still reads this
          maxLength: 64
          minLength: 1
          type: string
      required:
        - id
        - was
    CaptionLook:
      additionalProperties: false
      type: object
      properties:
        posX:
          format: double
          maximum: 1
          minimum: 0
          type: number
        posY:
          format: double
          maximum: 1
          minimum: 0
          type: number
        rotation:
          format: double
          maximum: 180
          minimum: -180
          type: number
        scale:
          format: double
          maximum: 3
          minimum: 0.4
          type: number
        size:
          enum:
            - S
            - M
            - L
          type: string
    SFXSpec:
      additionalProperties: false
      type: object
      properties:
        atMs:
          format: int64
          type: integer
        cue:
          type: string
        id:
          type: string
        offsetMs:
          format: int64
          type: integer
        wordId:
          type: string
      required:
        - id
        - cue
        - offsetMs
    ZoomSpec:
      additionalProperties: false
      type: object
      properties:
        curve:
          enum:
            - instant
            - ease
            - linear
          type: string
        endMs:
          format: int64
          type: integer
        id:
          type: string
        level:
          enum:
            - medium
            - high
          type: string
        move:
          enum:
            - zoom-fast
            - crash-zoom
            - steady-in
            - crash-zoom-out
            - steady-out
            - fast-hold
            - smooth-hold
            - camera-shake
            - fast-snap
            - steady-hold
          type: string
        scale:
          format: double
          type: number
        startMs:
          format: int64
          type: integer
      required:
        - id
        - startMs
        - endMs
        - move
  securitySchemes:
    ApiKeyBearer:
      type: http
      scheme: bearer
      bearerFormat: sol_live_
      description: >-
        An API key, created in Solara: the menu under your name, then API keys.
        Send it as `Authorization: Bearer sol_live_…`. It works while the
        workspace has agent access, within what its plan gives (the free plan
        included).

````

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