DreamshotDreamshot
Get a token
MCP + REST

Build with Dreamshot

Dreamshot creates images, video and audio inside your organization's projects. With an API token you can drive it from Claude Code over MCP (the quickest path) or from your own code over REST. Every call acts as you, in your organization, and spends its credits.

MCP endpoint

https://app.dreamshot.io/api/mcp

REST base URL

https://app.dreamshot.io/api/v1

Quickstart for Claude Code

Three steps: create a token, connect Claude Code, then ask for what you want in plain words.

  1. Create an API token

    In the app, open Settings > Organizations, pick your organization, open API tokens and click Create Token. Name it and tick these permissions:

    • Read the production credit balance without organization administration.credits:read
    • Read Generationsgeneration:read
    • Create Generationsgeneration:write
    • Read Mediamedia:read
    • Read Toolstools:read
    • Read Projectsprojects:read
    • Manage Projectsprojects:write
    • Read review feedbackcomments:read
    • Track and read your own timetime:write
    • Read and edit the traffic plantraffic:write

    Expiration defaults to 90 days (you can pick 30 days, 90 days, 1 year). The token starts with dst_ and is shown only once: copy it before you close the dialog.

  2. Connect Claude Code

    Run this once in a terminal, replacing <token> with your token. The dialog that shows your new token gives you the same command with the token already filled in.

    bash
    claude mcp add --transport http dreamshot https://app.dreamshot.io/api/mcp --header "Authorization: Bearer <token>"

    Start a new Claude Code session (or run /mcp) and the dreamshot tools appear. Claude Code only sees the tools your token's permissions allow. The server is added for the current project; put --scope user right after claude mcp add to use it everywhere.

  3. Ask for something

    Claude Code finds the project, estimates the cost, generates, waits for the result and hands you the download links. Try:

    Connection and missing deliverables

    prompt
    Check my Dreamshot connection with get_mcp_capabilities, explain any missing permissions, then find the unfilled slots in my project with get_project_delivery_status. Read every SKU page. Show placement gaps separately from client approvals.

    Image

    prompt
    In my Dreamshot project "Spring campaign", generate two 4:5 images of a ceramic coffee mug on a linen tablecloth in soft morning light. Estimate the cost first and tell me before you generate, then give me the download links.

    Video, draft then final

    prompt
    In my Dreamshot project "Spring campaign", make an 8-second 16:9 video with Seedance 2.5: a slow dolly-in on the same mug, steam rising, with ambient sound. Estimate the cost, render a 480p draft and show it to me. When I approve it, render the 1080p final from that draft.

    Your own reference image

    prompt
    Upload ./product.png to my Dreamshot project "Spring campaign" as a reference image, then generate a 1:1 image of that exact product on a white marble counter, using the upload as the reference.

MCP tools

The server at https://app.dreamshot.io/api/mcp exposes these tools. You rarely call them by name: Claude Code reads each description and picks them for you. A tool is listed only when your token has its scope.

The audio tools (list_voices, generate_music, generate_voiceover) appear only for organizations with audio over the API enabled. Ask your organization admin if you need them.
  • get_mcp_capabilitiesDiagnose connection and discover workflows
    Read-only
    tools:read

    Read this authenticated connection, token scopes and expiry, feature availability and production recipes.

    What Claude Code is told

    Read this authenticated connection, token scopes and expiry, feature availability and production recipes. Omit workflow for an overview; select one for ordered tool calls and recovery guidance. Tools being available does not guarantee model access, credits or project readiness. Free, read-only.

  • run_video_taskEdit or extend an existing video
    Generates
    generation:write

    Run the native videoTask API: edit a source video with a prompt, or request a bounded extension.

    What Claude Code is told

    Run the native videoTask API: edit a source video with a prompt, or request a bounded extension. videoTask takes exactly one sourceMediaId or sourceGenerationId. The server derives the project, duration, metadata, price and next version from the owned source. Choose a granted model or omit it for canonical selection. Use estimateOnly first, maxCredits and idempotencyKey to execute; poll get_generation then get_generation_media. Verified extension fragments are joined to the source in the selected direction before a full-length version is published.

  • get_project_delivery_statusFind missing deliverable slots
    Read-only
    projects:read
    media:read

    Report distinct filled and missing project-template slots per SKU, unassigned candidates and duplicate or unknown slot assignments.

    What Claude Code is told

    Report distinct filled and missing project-template slots per SKU, unassigned candidates and duplicate or unknown slot assignments. Requires a product manifest. Paginate SKUs with offset/limit and nextOffset. Inspects up to 1000 outputs per SKU; incomplete reads return null missingSlotIds and a nextMediaCursor for list_sku_media. Placement does not imply QA, client approval or publication.

  • create_project_from_manifestCreate a native project
    Writes
    projects:write

    Create a project with the complete public API manifest, including platforms, brief, production configuration, ecommerce settings, folder and external card link.

    What Claude Code is told

    Create a project with the complete public API manifest, including platforms, brief, production configuration, ecommerce settings, folder and external card link. Identity is bound to the token owner. Site-admin-only modes remain forbidden to normal members. Use idempotencyKey for safe retries.

  • generate_trained_imageGenerate from a trained model
    Generates
    generation:write

    Generate from an organization-owned product or brand trainingId.

    What Claude Code is told

    Generate from an organization-owned product or brand trainingId. Use estimateOnly first, maxCredits as a hard ceiling and idempotencyKey for execution. Poll get_generation then get_generation_media.

  • generate_flux_imageGenerate a FLUX image
    Generates
    generation:write

    Use the legacy create_anything API with its canonical description, model and numOutputs controls.

    What Claude Code is told

    Use the legacy create_anything API with its canonical description, model and numOutputs controls. Use estimateOnly first, maxCredits and idempotencyKey, then poll get_generation and get_generation_media.

  • update_projectUpdate project
    Writes
    projects:write

    Update project production settings, folder binding and external card link.

    What Claude Code is told

    Update project production settings, folder binding and external card link. Omitted fields remain unchanged. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • set_project_lifecycleSet project lifecycle
    Writes
    projects:write

    Configure the canonical lifecycle steps of a project.

    What Claude Code is told

    Configure the canonical lifecycle steps of a project. Read the project first; this replaces its step configuration. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • find_project_by_cardFind project by card
    Read-only
    projects:read

    Find project by card.

    What Claude Code is told

    Find project by card. Uses the canonical API in the authenticated organization. Follow returned pagination cursors when present.

  • follow_project_reviewsFollow project review emails
    Writes
    projects:write

    Subscribe a teammate to (action follow) or drop them from (action unfollow) the team review emails of many projects: every comment and approval digest goes to project owners plus these followers.

    What Claude Code is told

    Subscribe a teammate to (action follow) or drop them from (action unfollow) the team review emails of many projects: every comment and approval digest goes to project owners plus these followers. Select by projectIds, folderId, folderName or search (folder and search combine; there is no 'every project'). Without apply it is a dry run: show the person the listed projects in plain words and wait for a yes, then repeat the same call with apply: true. Rows report change (add, remove, unchanged, skipped) and teamMailOn; following never switches team mail back on. Ambiguous folder names answer 409 with the candidates. Team members only.

  • list_project_foldersList project folders
    Read-only
    projects:read

    List project folders.

    What Claude Code is told

    List project folders. Uses the canonical API in the authenticated organization. Follow returned pagination cursors when present.

  • create_project_folderCreate project folder
    Writes
    projects:write

    Create project folder.

    What Claude Code is told

    Create project folder. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • get_project_briefGet project brief
    Read-only
    projects:read

    Get project brief.

    What Claude Code is told

    Get project brief. Uses the canonical API in the authenticated organization. Follow returned pagination cursors when present.

  • write_project_briefWrite project brief
    Writes
    projects:write

    Operate the project brief through the canonical versioned service.

    What Claude Code is told

    Operate the project brief through the canonical versioned service. Read get_project_brief first and pass its sequence to preserve concurrent edits. Submitted content is immutable. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • submit_project_briefSubmit project brief
    Writes
    projects:write

    Operate the project brief through the canonical versioned service.

    What Claude Code is told

    Operate the project brief through the canonical versioned service. Read get_project_brief first and pass its sequence to preserve concurrent edits. Submitted content is immutable. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • open_project_brief_versionOpen project brief version
    Writes
    projects:write

    Operate the project brief through the canonical versioned service.

    What Claude Code is told

    Operate the project brief through the canonical versioned service. Read get_project_brief first and pass its sequence to preserve concurrent edits. Submitted content is immutable. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • set_project_brief_intakeSet project brief intake
    Writes
    projects:write

    Operate the project brief through the canonical versioned service.

    What Claude Code is told

    Operate the project brief through the canonical versioned service. Read get_project_brief first and pass its sequence to preserve concurrent edits. Submitted content is immutable. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • record_project_brief_email_approvalRecord project brief email approval
    Writes
    projects:write

    Record an approval already received by email, including its real evidence, designated approver, version and digest.

    What Claude Code is told

    Record an approval already received by email, including its real evidence, designated approver, version and digest. This does not send email or impersonate a client. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • get_project_assetsGet project assets
    Read-only
    projects:read

    Get project assets.

    What Claude Code is told

    Get project assets. Uses the canonical API in the authenticated organization. Follow returned pagination cursors when present.

  • write_project_assetsWrite project assets
    Writes
    projects:write

    Upsert or archive only the named assets.

    What Claude Code is told

    Upsert or archive only the named assets. Attach organization media by id, submit assets and record explicit team decisions. Omitted assets remain unchanged. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • get_storyboardGet storyboard
    Read-only
    projects:read

    Get storyboard.

    What Claude Code is told

    Get storyboard. Uses the canonical API in the authenticated organization. Follow returned pagination cursors when present.

  • write_storyboardWrite storyboard
    Writes
    projects:write

    Replace the open storyboard draft with the native document.

    What Claude Code is told

    Replace the open storyboard draft with the native document. Submitted versions are immutable; withdraw explicitly or open the next version. References must belong to this project. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • submit_storyboard_for_reviewSubmit storyboard for review
    Writes
    projects:write

    Submit storyboard for review.

    What Claude Code is told

    Submit storyboard for review. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • withdraw_storyboard_versionWithdraw storyboard version
    Writes
    projects:write

    Withdraw storyboard version.

    What Claude Code is told

    Withdraw storyboard version. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • open_storyboard_versionOpen storyboard version
    Writes
    projects:write

    Open storyboard version.

    What Claude Code is told

    Open storyboard version. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • create_product_manifestCreate product manifest
    Writes
    projects:write

    Write the ecommerce SKU manifest.

    What Claude Code is told

    Write the ecommerce SKU manifest. The canonical service preserves SKU renames and rejects changes that strand assigned deliverables. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • update_product_manifestUpdate product manifest
    Writes
    projects:write

    Write the ecommerce SKU manifest.

    What Claude Code is told

    Write the ecommerce SKU manifest. The canonical service preserves SKU renames and rejects changes that strand assigned deliverables. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • get_product_manifestGet product manifest
    Read-only
    projects:read

    Get product manifest.

    What Claude Code is told

    Get product manifest. Uses the canonical API in the authenticated organization. Follow returned pagination cursors when present.

  • get_deliverable_slotsGet deliverable slots
    Read-only
    projects:read

    Get deliverable slots.

    What Claude Code is told

    Get deliverable slots. Uses the canonical API in the authenticated organization. Follow returned pagination cursors when present.

  • set_deliverable_slotsSet deliverable slots
    Writes
    projects:write

    Set deliverable slots.

    What Claude Code is told

    Set deliverable slots. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • list_sku_mediaList sku media
    Read-only
    media:read

    List sku media.

    What Claude Code is told

    List sku media. Uses the canonical API in the authenticated organization. Follow returned pagination cursors when present.

  • assign_media_to_slotAssign media to slot
    Writes
    projects:write

    Explicitly place an existing deliverable in a SKU slot for review.

    What Claude Code is told

    Explicitly place an existing deliverable in a SKU slot for review. This publishes the chosen media to that review step; it is not a QA approval. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • create_project_uploadCreate project upload
    Writes
    generation:write

    Create a signed upload slot for project media, SKU references/deliverables or versions.

    What Claude Code is told

    Create a signed upload slot for project media, SKU references/deliverables or versions. PUT the exact bytes with the returned headers, then call the corresponding confirm tool. Raw URLs are not fetched. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • confirm_project_mediaConfirm project media
    Writes
    projects:write

    Inspect and confirm bytes from create_project_upload into this project.

    What Claude Code is told

    Inspect and confirm bytes from create_project_upload into this project. The upload grant is bound to the organization, type and expiry. Defaults to internal visibility. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • confirm_sku_referenceConfirm sku reference
    Writes
    projects:write

    Confirm a verified upload from create_project_upload into the named SKU.

    What Claude Code is told

    Confirm a verified upload from create_project_upload into the named SKU. Explicit public visibility publishes the deliverable; the default remains internal. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • confirm_sku_deliverableConfirm sku deliverable
    Writes
    projects:write

    Confirm a verified upload from create_project_upload into the named SKU.

    What Claude Code is told

    Confirm a verified upload from create_project_upload into the named SKU. Explicit public visibility publishes the deliverable; the default remains internal. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • create_media_versionCreate media version
    Writes
    projects:write

    Link an existing project media as the next version, or confirm a version uploaded with create_project_upload.

    What Claude Code is told

    Link an existing project media as the next version, or confirm a version uploaded with create_project_upload. Ownership, project, lineage and visibility guards match the API. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • get_production_foldersGet production folders
    Read-only
    projects:read

    Get production folders.

    What Claude Code is told

    Get production folders. Uses the canonical API in the authenticated organization. Follow returned pagination cursors when present.

  • create_production_folderCreate production folder
    Writes
    projects:write

    Organize the project production folder tree.

    What Claude Code is told

    Organize the project production folder tree. Bulk media moves accept expectedFolders to refuse stale moves; no other project or organization can be changed. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • rename_production_folderRename production folder
    Writes
    projects:write

    Organize the project production folder tree.

    What Claude Code is told

    Organize the project production folder tree. Bulk media moves accept expectedFolders to refuse stale moves; no other project or organization can be changed. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • move_production_folderMove production folder
    Writes
    projects:write

    Organize the project production folder tree.

    What Claude Code is told

    Organize the project production folder tree. Bulk media moves accept expectedFolders to refuse stale moves; no other project or organization can be changed. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • delete_production_folderDelete production folder
    Writes
    projects:write

    Organize the project production folder tree.

    What Claude Code is told

    Organize the project production folder tree. Bulk media moves accept expectedFolders to refuse stale moves; no other project or organization can be changed. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • move_production_mediaMove production media
    Writes
    projects:write

    Organize the project production folder tree.

    What Claude Code is told

    Organize the project production folder tree. Bulk media moves accept expectedFolders to refuse stale moves; no other project or organization can be changed. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • publish_qa_checklistPublish qa checklist
    Writes
    projects:write

    Publish qa checklist.

    What Claude Code is told

    Publish qa checklist. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • send_media_to_qaSend media to qa
    Writes
    projects:write

    Send media to qa.

    What Claude Code is told

    Send media to qa. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • get_qa_queueGet qa queue
    Read-only
    media:read

    Get qa queue.

    What Claude Code is told

    Get qa queue. Uses the canonical API in the authenticated organization. Follow returned pagination cursors when present.

  • record_qa_rejectionRecord qa rejection
    Writes
    projects:write

    Record a rejection attributed to the token owner.

    What Claude Code is told

    Record a rejection attributed to the token owner. An assistant cannot record a human pass; the reviewer must approve in the QA queue. This guard also exists in the canonical write service. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • review_qa_mediaReview qa media
    Generates
    projects:write

    Run the server-side Gemini reviewer on up to six project media.

    What Claude Code is told

    Run the server-side Gemini reviewer on up to six project media. Diagnostic scores only: never approves, assigns or publishes. Requires the server Gemini key. Inspect each item: provider errors are not QA passes; an entirely failed chunk returns qa_review_failed. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • get_media_qa_scoresGet media qa scores
    Read-only
    media:read

    Get media qa scores.

    What Claude Code is told

    Get media qa scores. Uses the canonical API in the authenticated organization. Follow returned pagination cursors when present.

  • record_media_qa_scoreRecord media qa score
    Writes
    projects:write

    Record a diagnostic external evaluation score, attributed to the token owner.

    What Claude Code is told

    Record a diagnostic external evaluation score, attributed to the token owner. It never creates a human verdict or publishes media. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • record_bulk_qa_scoresRecord bulk qa scores
    Writes
    projects:write

    Record bulk qa scores.

    What Claude Code is told

    Record bulk qa scores. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • get_qa_agreementGet qa agreement
    Read-only
    projects:read

    Get qa agreement.

    What Claude Code is told

    Get qa agreement. Uses the canonical API in the authenticated organization. Follow returned pagination cursors when present.

  • get_qa_rejectionsGet qa rejections
    Read-only
    media:read

    Get qa rejections.

    What Claude Code is told

    Get qa rejections. Uses the canonical API in the authenticated organization. Follow returned pagination cursors when present.

  • list_organization_assetsList organization assets
    Read-only
    projects:read

    List organization assets.

    What Claude Code is told

    List organization assets. Uses the canonical API in the authenticated organization. Follow returned pagination cursors when present.

  • create_organization_asset_uploadCreate organization asset upload
    Writes
    projects:write

    Create a verified upload slot for a reusable organization font, sound effect or asset.

    What Claude Code is told

    Create a verified upload slot for a reusable organization font, sound effect or asset. PUT the bytes, then confirm_organization_asset_upload. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • confirm_organization_asset_uploadConfirm organization asset upload
    Writes
    projects:write

    Confirm organization asset upload.

    What Claude Code is told

    Confirm organization asset upload. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • validate_workflowValidate workflow
    Read-only
    projects:read

    Validate workflow.

    What Claude Code is told

    Validate workflow. Uses the canonical API in the authenticated organization. Follow returned pagination cursors when present.

  • create_workflowCreate workflow
    Writes
    projects:write

    Create workflow.

    What Claude Code is told

    Create workflow. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • get_workflowGet workflow
    Read-only
    projects:read

    Get workflow.

    What Claude Code is told

    Get workflow. Uses the canonical API in the authenticated organization. Follow returned pagination cursors when present.

  • update_workflowUpdate workflow
    Writes
    projects:write

    Update workflow.

    What Claude Code is told

    Update workflow. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • launch_workflowLaunch workflow
    Generates
    generation:write

    Launch a validated workflow asynchronously as the token owner, single or batch.

    What Claude Code is told

    Launch a validated workflow asynchronously as the token owner, single or batch. Provider nodes spend organization credits through normal API gates. Use idempotencyKey on every launch and poll get_workflow_execution. Set input.maxCredits to enforce one global ceiling across every node, batch iteration and retry. Read creditBudget on get_workflow_execution for allocated and charged credits. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • get_workflow_executionGet workflow execution
    Read-only
    generation:read

    Get workflow execution.

    What Claude Code is told

    Get workflow execution. Uses the canonical API in the authenticated organization. Follow returned pagination cursors when present.

  • list_workflow_executionsList workflow executions
    Read-only
    generation:read

    List workflow executions.

    What Claude Code is told

    List workflow executions. Uses the canonical API in the authenticated organization. Follow returned pagination cursors when present.

  • log_timeLog time
    Writes
    time:write

    Track or read only the token owner's time.

    What Claude Code is told

    Track or read only the token owner's time. Requires time tracking enabled for this organization. Manual entries use externalId for safe upsert; timer controls follow the canonical minimum-duration and conflict rules. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • list_time_entriesList time entries
    Read-only
    time:write

    Track or read only the token owner's time.

    What Claude Code is told

    Track or read only the token owner's time. Requires time tracking enabled for this organization. Manual entries use externalId for safe upsert; timer controls follow the canonical minimum-duration and conflict rules.

  • update_time_entryUpdate time entry
    Writes
    time:write

    Correct one of the token owner's own time entries by entryId (from list_time_entries).

    What Claude Code is told

    Correct one of the token owner's own time entries by entryId (from list_time_entries). Partial: input carries only the fields to change (projectId, minutes, startedAt, workKind, stageId, note; note null clears it); omitted fields keep their value. The entry is reclassified against its project; imported entries without a classification need workKind. Another person's entry answers 404, with no admin override. Requires time tracking enabled for this organization.

  • delete_time_entryDelete time entry
    Writes
    time:write

    Permanently delete one of the token owner's own time entries by entryId (from list_time_entries).

    What Claude Code is told

    Permanently delete one of the token owner's own time entries by entryId (from list_time_entries). Another person's entry answers 404, with no admin override. Requires time tracking enabled for this organization. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • get_running_timerGet running timer
    Read-only
    time:write

    Track or read only the token owner's time.

    What Claude Code is told

    Track or read only the token owner's time. Requires time tracking enabled for this organization. Manual entries use externalId for safe upsert; timer controls follow the canonical minimum-duration and conflict rules.

  • start_timerStart timer
    Writes
    time:write

    Track or read only the token owner's time.

    What Claude Code is told

    Track or read only the token owner's time. Requires time tracking enabled for this organization. Manual entries use externalId for safe upsert; timer controls follow the canonical minimum-duration and conflict rules. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • stop_timerStop timer
    Writes
    time:write

    Track or read only the token owner's time.

    What Claude Code is told

    Track or read only the token owner's time. Requires time tracking enabled for this organization. Manual entries use externalId for safe upsert; timer controls follow the canonical minimum-duration and conflict rules. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • discard_timerDiscard timer
    Writes
    time:write

    Track or read only the token owner's time.

    What Claude Code is told

    Track or read only the token owner's time. Requires time tracking enabled for this organization. Manual entries use externalId for safe upsert; timer controls follow the canonical minimum-duration and conflict rules. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • get_traffic_planGet traffic plan
    Read-only
    traffic:write

    Read or edit the organization traffic plan as the token owner.

    What Claude Code is told

    Read or edit the organization traffic plan as the token owner. Requires time tracking enabled and an ordinary non-reviewer membership. Canonical source ownership, ledger and capacity rules apply.

  • get_traffic_reportGet traffic report
    Read-only
    traffic:write

    Read or edit the organization traffic plan as the token owner.

    What Claude Code is told

    Read or edit the organization traffic plan as the token owner. Requires time tracking enabled and an ordinary non-reviewer membership. Canonical source ownership, ledger and capacity rules apply.

  • check_traffic_fitCheck traffic fit
    Read-only
    traffic:write

    Read or edit the organization traffic plan as the token owner.

    What Claude Code is told

    Read or edit the organization traffic plan as the token owner. Requires time tracking enabled and an ordinary non-reviewer membership. Canonical source ownership, ledger and capacity rules apply.

  • replace_traffic_absencesReplace traffic absences
    Writes
    traffic:write

    Read or edit the organization traffic plan as the token owner.

    What Claude Code is told

    Read or edit the organization traffic plan as the token owner. Requires time tracking enabled and an ordinary non-reviewer membership. Canonical source ownership, ledger and capacity rules apply. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • import_traffic_timelineImport traffic timeline
    Writes
    traffic:write

    Read or edit the organization traffic plan as the token owner.

    What Claude Code is told

    Read or edit the organization traffic plan as the token owner. Requires time tracking enabled and an ordinary non-reviewer membership. Canonical source ownership, ledger and capacity rules apply. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • create_traffic_blockCreate traffic block
    Writes
    traffic:write

    Read or edit the organization traffic plan as the token owner.

    What Claude Code is told

    Read or edit the organization traffic plan as the token owner. Requires time tracking enabled and an ordinary non-reviewer membership. Canonical source ownership, ledger and capacity rules apply. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • create_traffic_projectCreate traffic project
    Writes
    traffic:write

    Read or edit the organization traffic plan as the token owner.

    What Claude Code is told

    Read or edit the organization traffic plan as the token owner. Requires time tracking enabled and an ordinary non-reviewer membership. Canonical source ownership, ledger and capacity rules apply. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • update_traffic_blockUpdate traffic block
    Writes
    traffic:write

    Edit traffic with input.expectedVersion from the previous read to reject concurrent changes.

    What Claude Code is told

    Edit traffic with input.expectedVersion from the previous read to reject concurrent changes. Changes are attributed to the token owner and recorded in the ledger. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • delete_traffic_blockDelete traffic block
    Writes
    traffic:write

    Edit traffic with input.expectedVersion from the previous read to reject concurrent changes.

    What Claude Code is told

    Edit traffic with input.expectedVersion from the previous read to reject concurrent changes. Changes are attributed to the token owner and recorded in the ledger. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • update_traffic_projectUpdate traffic project
    Writes
    traffic:write

    Edit traffic with input.expectedVersion from the previous read to reject concurrent changes.

    What Claude Code is told

    Edit traffic with input.expectedVersion from the previous read to reject concurrent changes. Changes are attributed to the token owner and recorded in the ledger. Use idempotencyKey for safe retries; reuse the same key and inputs for the same operation.

  • get_project_reviewGet project review
    Read-only
    projects:read
    comments:read

    Read the complete project review board, visibility, version chains, comments and download naming.

    What Claude Code is told

    Read the complete project review board, visibility, version chains, comments and download naming.

  • publish_media_for_reviewPublish media for review
    Writes
    projects:write

    Explicitly publish selected organization project media to client review.

    What Claude Code is told

    Explicitly publish selected organization project media to client review. This does not record a client approval.

  • set_download_filename_templateSet download filename template
    Writes
    projects:write

    Set the project download filename template used by the review package.

    What Claude Code is told

    Set the project download filename template used by the review package.

  • read_feedbackRead feedback
    Read-only
    comments:read

    Read project feedback and comments with media identity and review context.

    What Claude Code is told

    Read project feedback and comments with media identity and review context.

  • list_projectsList projects
    Read-only
    projects:read

    List projects in the organization that owns your API token, newest activity first, with page and limit pagination.

    What Claude Code is told

    List projects in the organization that owns your API token, newest activity first, with page and limit pagination. Every generation, upload and share link belongs to a project, so start here to get a projectId. Pass nameQuery to search across all projects. Returns { items, page, totalPages, hasNextPage }. Increment page until hasNextPage is false. limit is 1-50 (default 20).

  • get_projectRead project
    Read-only
    projects:read

    Read project details by id from list_projects.

    What Claude Code is told

    Read project details by id from list_projects.

  • get_project_workspaceRead project workspace
    Read-only
    projects:read

    Read the project lifecycle, product manifest and deliverable slots.

    What Claude Code is told

    Read the project lifecycle, product manifest and deliverable slots.

  • list_project_mediaList project files
    Read-only
    projects:read
    media:read

    Discover reusable mediaIds.

    What Claude Code is told

    Discover reusable mediaIds. Returns items with dimensions, duration, media kind and lineage. Pass nextCursor as cursor for the next page.

  • list_generationsList generation history
    Read-only
    generation:read

    Read a project generation history.

    What Claude Code is told

    Read a project generation history. Pass nextCursor as cursor to continue; use returned ids with get_generation.

  • get_mediaInspect media
    Read-only
    media:read

    Read media metadata, lineage and signed download URL using a mediaId from list_project_media.

    What Claude Code is told

    Read media metadata, lineage and signed download URL using a mediaId from list_project_media.

  • get_credit_balanceRead credit balance
    Read-only
    credits:read

    Read available production credits.

    What Claude Code is told

    Read available production credits. Requires credits:read, which members may grant to their own tokens.

  • cancel_generationCancel pending generation
    Writes
    generation:write

    Cancel a pending job and release its remaining credit hold.

    What Claude Code is told

    Cancel a pending job and release its remaining credit hold. Already-cancelled jobs succeed. A job already running at its provider returns 409 because provider cancellation is unsupported.

  • get_generations_statusPoll several jobs
    Read-only
    generation:read

    Read up to 20 generationIds in one request.

    What Claude Code is told

    Read up to 20 generationIds in one request. Use suggestedPollSeconds for backoff. A failed or cancelled job is terminal.

  • create_projectCreate project
    Writes
    projects:write

    Create a project to hold new work when list_projects has no suitable one.

    What Claude Code is told

    Create a project to hold new work when list_projects has no suitable one. For ordinary creative production use mode "campaign" with productionKind "image" or "video"; use "manual" only for an upload-only bucket. Other modes need extra fields described in the schema: automatic (brief and schedule) and ecommerce (deliverableSlots); agentic is reserved for Dreamshot site admins and is refused for everyone else. Returns { projectId, name, mode, generationMode, type }. Free. Each call creates a new project, so check list_projects first to avoid duplicates.

  • list_creative_capabilitiesList enabled models
    Read-only
    tools:read

    List the creative tools and model variants this organization may use, as [{ name, kind, variant, order, constraints }].

    What Claude Code is told

    List the creative tools and model variants this organization may use, as [{ name, kind, variant, order, constraints }]. constraints includes supported sizes, ratios, reference limits and model-specific option fields. Image models are the variants of tool "ai_edit" (pass one as generate_image.variant); video models are the variants of "create_video" (pass one as generate_video.model); music is "create_music". A model outside this list is refused with a permissions error. Free, read-only.

  • create_reference_uploadStart a reference upload
    Writes
    generation:write

    Step 1 of 3 to use a local image, video or audio file as a generation input.

    What Claude Code is told

    Step 1 of 3 to use a local image, video or audio file as a generation input. Accepts JPEG/PNG/WebP up to 50 MB, MP4/MOV video up to 50 MB, and MP3/WAV/M4A audio up to 100 MB. Send projectId, fileType and the EXACT fileSize in bytes (for example from `wc -c < file`). Returns { uploadUrl, method: "PUT", headers, uploadGrant, expiresInSeconds: 3600 }. Step 2: upload the bytes yourself, e.g. `curl -X PUT -H "Content-Type: <fileType>" -H "Cache-Control: <headers Cache-Control>" --upload-file <path> "<uploadUrl>"`. Step 3: call confirm_reference_upload with the same projectId and the uploadGrant to get a mediaId. The slot expires after 1 hour. Free; creates nothing until confirmed.

  • confirm_reference_uploadConfirm a reference upload
    Writes
    projects:write

    Step 3 of 3 after create_reference_upload and the PUT.

    What Claude Code is told

    Step 3 of 3 after create_reference_upload and the PUT. Send projectId, the uploadGrant and optionally fileName. The server checks the stored file matches the declared type and size, measures its real dimensions, and freezes a private copy, measures video/audio duration when applicable, and adds it to the project as internal (team-only) media. Returns { mediaId, width, height, bytes, mimeType, alreadyConfirmed }. Use mediaId in generate_image.referenceImageMediaIds or the *MediaId(s) inputs of generate_video. If it answers object_not_found, the PUT has not completed yet; a wrong size or type deletes the file and you must start again. Safe to repeat: a second confirm returns the same mediaId. If confirmation_in_progress is returned, wait and retry the same grant. Free.

  • estimate_image_costEstimate image cost
    Read-only
    generation:write

    Price a generate_image request WITHOUT running it.

    What Claude Code is told

    Price a generate_image request WITHOUT running it. Takes exactly the generate_image input; every validation runs (model access, project, references, size), but nothing is created or charged. Returns { estimatedCredits, model, resolution, durationSec } or the error the real call would return. Call it before every generate_image and tell the user the cost when it matters. Free, read-only.

  • generate_imageGenerate image
    Generates
    generation:write

    Create new images in a project.

    What Claude Code is told

    Create new images in a project. Required: projectId and an English prompt. variant picks the model (see list_creative_capabilities; default nano_banana_2); aspectRatio defaults to 1:1; outputCount 1-14 images per call, each billed. resolution takes the model size token (e.g. 1K, 2K, 4K for Nano Banana), never pixel sizes you derive yourself. Up to 14 reference images go in referenceImageMediaIds, in order ("the second image" = second id). Media inputs are media ids from this organization only (from get_generation outputs, get_generation_media or confirm_reference_upload); URLs are never accepted. To use a local file, upload it with create_reference_upload then confirm_reference_upload. Run estimate_image_cost first with the same input. Use idempotencyKey (a new UUID for new work, the same key for retries) and optional maxCredits as a hard ceiling checked before creation. Spends credits from the organization balance (amounts are credits, not money). If the balance cannot cover it the call fails with requiredCredits and availableCredits and nothing is created. The call returns immediately with { generationId, status: "processing", estimatedCredits }; the work runs in the background. Poll get_generation with that id until status is completed, failed or cancelled, then call get_generation_media for the files. Images usually finish in 10-90 seconds; poll every 10 seconds. Every id (projectId, mediaId, generationId) must come from a previous tool result; never invent one.

  • estimate_video_costEstimate video cost
    Read-only
    generation:write

    Price a generate_video request WITHOUT running it.

    What Claude Code is told

    Price a generate_video request WITHOUT running it. Takes exactly the generate_video input (including draft and draftGenerationId); every validation runs, nothing is created or charged. Returns { estimatedCredits, model, resolution, durationSec } or the error the real call would return. Video is the most expensive operation: always estimate first and confirm with the user before generating. Free, read-only.

  • generate_videoGenerate video
    Generates
    generation:write

    Create a new video in a project (use run_video_task for editing or extension of an existing video): text-to-video, image-to-video (inputImageMediaId as start frame, optional endImageMediaId), character/product consistency (referenceElements), style images, reference videos/audio (@Video1, @Audio1 in the prompt follow list order) and multi-shot prompts.

    What Claude Code is told

    Create a new video in a project (use run_video_task for editing or extension of an existing video): text-to-video, image-to-video (inputImageMediaId as start frame, optional endImageMediaId), character/product consistency (referenceElements), style images, reference videos/audio (@Video1, @Audio1 in the prompt follow list order) and multi-shot prompts. model picks the engine (enum in the schema; check list_creative_capabilities for what this organization may use). durationSeconds, resolution and aspectRatio must be values the chosen model supports; a bad value is refused before anything is charged. Recommended flow with bytedance/seedance-2.5 (up to 30 s, 480p/720p/1080p, native audio): 1) estimate_video_cost then generate_video with draft: true for a cheaper 480p preview; 2) poll until completed and review it with the user; 3) render the 1080p final with ONLY { projectId, model, draftGenerationId: <draft generationId>, outputFormat? } (prompt, references, duration and audio are inherited; drafts expire after 7 days). The draft and the final are billed separately. Media inputs are media ids from this organization only (from get_generation outputs, get_generation_media or confirm_reference_upload); URLs are never accepted. To use a local file, upload it with create_reference_upload then confirm_reference_upload. Use idempotencyKey (a new UUID for new work, the same key for retries) and optional maxCredits as a hard ceiling checked before creation. Spends credits from the organization balance (amounts are credits, not money). If the balance cannot cover it the call fails with requiredCredits and availableCredits and nothing is created. The call returns immediately with { generationId, status: "processing", estimatedCredits }; the work runs in the background. Poll get_generation with that id until status is completed, failed or cancelled, then call get_generation_media for the files. Video usually takes 1-10 minutes; poll every 30 seconds. Prompts in English. Every id (projectId, mediaId, generationId) must come from a previous tool result; never invent one.

  • get_generationGet generation status
    Read-only
    generation:read

    Read one generation by id (a generationId from a generate_* call, or a mediaId, which resolves to the generation that produced it).

    What Claude Code is told

    Read one generation by id (a generationId from a generate_* call, or a mediaId, which resolves to the generation that produced it). Use it to poll. status is prompt_ready, pending or running while in progress, and completed, failed or cancelled when done; on failed, error explains why (failed work is not charged). Returns the prompt, tool, variant, creditsCost, referenceImageUrls and outputs [{ id, url }] once completed; outputs[].id is the mediaId to reuse as an input. Read-only and free; this never starts a generation.

  • get_generation_mediaGet generation files
    Read-only
    media:read

    List the output files of a COMPLETED generation: [{ id, displayUrl, downloadUrl, mediaKind, resolution }].

    What Claude Code is told

    List the output files of a COMPLETED generation: [{ id, displayUrl, downloadUrl, mediaKind, resolution }]. downloadUrl is a signed link to the original file valid for 1 hour (download it with curl -L -o <file> "<downloadUrl>"); displayUrl is the public CDN URL. id is the mediaId to reuse as a generation input. Empty while the generation is still running. Free, read-only.

  • list_voicesList voices
    Read-only
    Audio orgs
    tools:read

    List the ElevenLabs voices this organization may use for generate_voiceover, as { voices: [{ voiceId, name, category, description, previewUrl }], hasMore, nextPageToken }.

    What Claude Code is told

    List the ElevenLabs voices this organization may use for generate_voiceover, as { voices: [{ voiceId, name, category, description, previewUrl }], hasMore, nextPageToken }. Use search to filter by name. Free, read-only.

  • generate_musicGenerate music
    Generates
    Audio orgs
    generation:write

    Generate one music track in a project from an English prompt.

    What Claude Code is told

    Generate one music track in a project from an English prompt. variant picks the model (music_v2 = ElevenLabs Music, takes durationSeconds; lyria3_pro accepts an optional mood image media id; MiniMax models accept lyrics). Use idempotencyKey (a new UUID for new work, the same key for retries) and optional maxCredits as a hard ceiling checked before creation. Spends credits from the organization balance (amounts are credits, not money). If the balance cannot cover it the call fails with requiredCredits and availableCredits and nothing is created. (ElevenLabs Music costs 0 credits.) The call returns immediately with { generationId, status: "processing", estimatedCredits }; the work runs in the background. Poll get_generation with that id until status is completed, failed or cancelled, then call get_generation_media for the files. Lyria takes 2-3 minutes and MiniMax up to 10; poll every 30 seconds. Every id (projectId, mediaId, generationId) must come from a previous tool result; never invent one.

  • generate_voiceoverGenerate voiceover
    Generates
    Audio orgs
    generation:write

    Read a script aloud in a workspace voice and save the audio in a project.

    What Claude Code is told

    Read a script aloud in a workspace voice and save the audio in a project. voiceId must come from list_voices. Keep the script in its own language. variant: eleven_flash_v2_5 (fast, default), eleven_multilingual_v2 (stable multilingual) or eleven_v3 (most expressive). Costs 0 credits. The call returns immediately with { generationId, status: "processing", estimatedCredits }; the work runs in the background. Poll get_generation with that id until status is completed, failed or cancelled, then call get_generation_media for the files. Every id (projectId, mediaId, generationId) must come from a previous tool result; never invent one.

  • edit_imageEdit an existing image
    Generates
    generation:write

    Change an existing image with a short instruction describing only the change.

    What Claude Code is told

    Change an existing image with a short instruction describing only the change. baseImageMediaId is required; additionalReferenceMediaIds are ordered donor images. variant and model-specific controls follow generate_image. maskMediaId optionally limits a supported edit. Media inputs are media ids from this organization only (from get_generation outputs, get_generation_media or confirm_reference_upload); URLs are never accepted. To use a local file, upload it with create_reference_upload then confirm_reference_upload. Use estimateOnly: true first to validate and price the exact same request without creating or charging work, then omit it to execute. Use idempotencyKey (a new UUID for new work, the same key for retries) and optional maxCredits as a hard ceiling checked before creation. Spends credits from the organization balance (amounts are credits, not money). If the balance cannot cover it the call fails with requiredCredits and availableCredits and nothing is created. The call returns immediately with { generationId, status: "processing", estimatedCredits }; the work runs in the background. Poll get_generation with that id until status is completed, failed or cancelled, then call get_generation_media for the files.

  • reframe_imageReframe an image
    Generates
    generation:write

    Reframe imageMediaId to one of the exact pixel dimensions in the schema.

    What Claude Code is told

    Reframe imageMediaId to one of the exact pixel dimensions in the schema. Media inputs are media ids from this organization only (from get_generation outputs, get_generation_media or confirm_reference_upload); URLs are never accepted. To use a local file, upload it with create_reference_upload then confirm_reference_upload. Use estimateOnly: true first to validate and price the exact same request without creating or charging work, then omit it to execute. Use idempotencyKey (a new UUID for new work, the same key for retries) and optional maxCredits as a hard ceiling checked before creation. Spends credits from the organization balance (amounts are credits, not money). If the balance cannot cover it the call fails with requiredCredits and availableCredits and nothing is created. The call returns immediately with { generationId, status: "processing", estimatedCredits }; the work runs in the background. Poll get_generation with that id until status is completed, failed or cancelled, then call get_generation_media for the files.

  • retouch_imageRetouch a masked image
    Generates
    generation:write

    Inpaint a masked region: imageMediaId is the source, maskMediaId is the uploaded mask, and instruction describes only the change.

    What Claude Code is told

    Inpaint a masked region: imageMediaId is the source, maskMediaId is the uploaded mask, and instruction describes only the change. Uses the enabled retouch model. Media inputs are media ids from this organization only (from get_generation outputs, get_generation_media or confirm_reference_upload); URLs are never accepted. To use a local file, upload it with create_reference_upload then confirm_reference_upload. Use estimateOnly: true first to validate and price the exact same request without creating or charging work, then omit it to execute. Use idempotencyKey (a new UUID for new work, the same key for retries) and optional maxCredits as a hard ceiling checked before creation. Spends credits from the organization balance (amounts are credits, not money). If the balance cannot cover it the call fails with requiredCredits and availableCredits and nothing is created. The call returns immediately with { generationId, status: "processing", estimatedCredits }; the work runs in the background. Poll get_generation with that id until status is completed, failed or cancelled, then call get_generation_media for the files.

  • combine_imagesCombine two images
    Generates
    generation:write

    Combine firstImageMediaId and secondImageMediaId following an English prompt and supported aspectRatio.

    What Claude Code is told

    Combine firstImageMediaId and secondImageMediaId following an English prompt and supported aspectRatio. Media inputs are media ids from this organization only (from get_generation outputs, get_generation_media or confirm_reference_upload); URLs are never accepted. To use a local file, upload it with create_reference_upload then confirm_reference_upload. Use estimateOnly: true first to validate and price the exact same request without creating or charging work, then omit it to execute. Use idempotencyKey (a new UUID for new work, the same key for retries) and optional maxCredits as a hard ceiling checked before creation. Spends credits from the organization balance (amounts are credits, not money). If the balance cannot cover it the call fails with requiredCredits and availableCredits and nothing is created. The call returns immediately with { generationId, status: "processing", estimatedCredits }; the work runs in the background. Poll get_generation with that id until status is completed, failed or cancelled, then call get_generation_media for the files.

  • control_cameraChange a camera angle
    Generates
    generation:write

    Create a new view of imageMediaId using rotateDegrees, moveForward, verticalTilt, useWideAngle and the canonical aspectRatio/outputFormat controls.

    What Claude Code is told

    Create a new view of imageMediaId using rotateDegrees, moveForward, verticalTilt, useWideAngle and the canonical aspectRatio/outputFormat controls. Media inputs are media ids from this organization only (from get_generation outputs, get_generation_media or confirm_reference_upload); URLs are never accepted. To use a local file, upload it with create_reference_upload then confirm_reference_upload. Use estimateOnly: true first to validate and price the exact same request without creating or charging work, then omit it to execute. Use idempotencyKey (a new UUID for new work, the same key for retries) and optional maxCredits as a hard ceiling checked before creation. Spends credits from the organization balance (amounts are credits, not money). If the balance cannot cover it the call fails with requiredCredits and availableCredits and nothing is created. The call returns immediately with { generationId, status: "processing", estimatedCredits }; the work runs in the background. Poll get_generation with that id until status is completed, failed or cancelled, then call get_generation_media for the files.

  • upscale_imageUpscale an image
    Generates
    generation:write

    Enhance imageMediaId with an enabled enhancer variant.

    What Claude Code is told

    Enhance imageMediaId with an enabled enhancer variant. Scale and creative controls follow the schema; actual input dimensions are read from the media record for validation and pricing. Media inputs are media ids from this organization only (from get_generation outputs, get_generation_media or confirm_reference_upload); URLs are never accepted. To use a local file, upload it with create_reference_upload then confirm_reference_upload. Use estimateOnly: true first to validate and price the exact same request without creating or charging work, then omit it to execute. Use idempotencyKey (a new UUID for new work, the same key for retries) and optional maxCredits as a hard ceiling checked before creation. Spends credits from the organization balance (amounts are credits, not money). If the balance cannot cover it the call fails with requiredCredits and availableCredits and nothing is created. The call returns immediately with { generationId, status: "processing", estimatedCredits }; the work runs in the background. Poll get_generation with that id until status is completed, failed or cancelled, then call get_generation_media for the files.

  • generate_talking_videoCreate a talking video
    Generates
    generation:write

    Lip-sync sourceMediaId to audioMediaId.

    What Claude Code is told

    Lip-sync sourceMediaId to audioMediaId. sourceKind must match the source; model, resolution and syncMode use the canonical contract. Durations are read from the media records for pricing. Media inputs are media ids from this organization only (from get_generation outputs, get_generation_media or confirm_reference_upload); URLs are never accepted. To use a local file, upload it with create_reference_upload then confirm_reference_upload. Use estimateOnly: true first to validate and price the exact same request without creating or charging work, then omit it to execute. Use idempotencyKey (a new UUID for new work, the same key for retries) and optional maxCredits as a hard ceiling checked before creation. Spends credits from the organization balance (amounts are credits, not money). If the balance cannot cover it the call fails with requiredCredits and availableCredits and nothing is created. The call returns immediately with { generationId, status: "processing", estimatedCredits }; the work runs in the background. Poll get_generation with that id until status is completed, failed or cancelled, then call get_generation_media for the files.

  • generate_depth_mapCreate a video depth map
    Generates
    generation:write

    Create a per-frame grayscale depth-map video from videoMediaId.

    What Claude Code is told

    Create a per-frame grayscale depth-map video from videoMediaId. No prompt is needed. Source duration must be between 1 and 80 seconds; it is measured from the stored media. Media inputs are media ids from this organization only (from get_generation outputs, get_generation_media or confirm_reference_upload); URLs are never accepted. To use a local file, upload it with create_reference_upload then confirm_reference_upload. Use estimateOnly: true first to validate and price the exact same request without creating or charging work, then omit it to execute. Use idempotencyKey (a new UUID for new work, the same key for retries) and optional maxCredits as a hard ceiling checked before creation. Spends credits from the organization balance (amounts are credits, not money). If the balance cannot cover it the call fails with requiredCredits and availableCredits and nothing is created. The call returns immediately with { generationId, status: "processing", estimatedCredits }; the work runs in the background. Poll get_generation with that id until status is completed, failed or cancelled, then call get_generation_media for the files.

  • upscale_videoUpscale a video
    Generates
    generation:write

    Upscale videoMediaId with an enabled video upscaler variant.

    What Claude Code is told

    Upscale videoMediaId with an enabled video upscaler variant. Actual source duration and dimensions determine validation and cost. scaleFactor and tier follow the schema. Media inputs are media ids from this organization only (from get_generation outputs, get_generation_media or confirm_reference_upload); URLs are never accepted. To use a local file, upload it with create_reference_upload then confirm_reference_upload. Use estimateOnly: true first to validate and price the exact same request without creating or charging work, then omit it to execute. Use idempotencyKey (a new UUID for new work, the same key for retries) and optional maxCredits as a hard ceiling checked before creation. Spends credits from the organization balance (amounts are credits, not money). If the balance cannot cover it the call fails with requiredCredits and availableCredits and nothing is created. The call returns immediately with { generationId, status: "processing", estimatedCredits }; the work runs in the background. Poll get_generation with that id until status is completed, failed or cancelled, then call get_generation_media for the files.

  • get_video_compositionRead the video timeline
    Read-only
    projects:read

    Read the saved timeline, tracks, clips, canvas and revision of a video Campaign project.

    What Claude Code is told

    Read the saved timeline, tracks, clips, canvas and revision of a video Campaign project. Optional editId selects a cut from list_video_composition_variations; omit it for the base cut. Read before editing and use its revision as expectedRevision.

  • list_video_composition_sound_effectsSearch sound effects
    Read-only
    projects:read

    Search the shared sound library by name/tag.

    What Claude Code is told

    Search the shared sound library by name/tag. Returns reusable ids, preview URLs, durations and licenses. Use an id as an audio clip mediaId; convert durationMs to frames with the composition fps.

  • list_video_composition_fontsList brand fonts
    Read-only
    projects:read

    List uploaded brand fonts for this organization.

    What Claude Code is told

    List uploaded brand fonts for this organization. Use a returned id as fontAssetId on a text clip. Other font ids are refused before saving.

  • preview_video_composition_editPreview timeline edits
    Read-only
    projects:read

    Validate an atomic operations batch against expectedRevision without saving.

    What Claude Code is told

    Validate an atomic operations batch against expectedRevision without saving. Returns baseRevision and candidate timeline. Optional editId selects a saved cut. A stale revision returns revision_conflict.

  • edit_video_compositionEdit the video timeline
    Writes
    projects:write

    Apply an atomic, frame-based operations batch with expectedRevision and optional editId.

    What Claude Code is told

    Apply an atomic, frame-based operations batch with expectedRevision and optional editId. The schema describes clip/track/canvas operations, placement, trim, split, text, audio and effects. Automatically saves a before-state checkpoint. A revision_conflict changes nothing: read the latest timeline and reapply only the intended change.

  • undo_latest_video_interventionUndo the latest timeline edit
    Writes
    projects:write

    Restore the before-state of the latest agent edit.

    What Claude Code is told

    Restore the before-state of the latest agent edit. Requires the exact expectedRevision and optional editId. Refuses if newer human or agent edits exist, preserving their work.

  • render_video_compositionRender the saved video cut
    Writes
    projects:write
    generation:write

    Queue an immutable snapshot of revision and optional editId.

    What Claude Code is told

    Queue an immutable snapshot of revision and optional editId. mode video exports MP4; frame renders one still; frames makes a contact sheet. Preview range and frames require destination download. quality, resolution, variants and destination use the same export contract as Studio. Repeating the same render is safe. Returns jobId: poll get_video_composition_render, including after reconnect. Does not publish the cut.

  • get_video_composition_renderRead video render status
    Read-only
    projects:read

    Poll jobId within its exact projectId and optional editId.

    What Claude Code is told

    Poll jobId within its exact projectId and optional editId. On completed returns mediaId and/or downloadUrl, plus outputs for variants. Download-only outputs expire after 24 hours. Resume polling the existing job after reconnect; never submit a new render just because a connection closed.

  • list_video_composition_variationsList video cuts
    Read-only
    projects:read

    List saved cuts with editId, name and revision.

    What Claude Code is told

    List saved cuts with editId, name and revision. Use the returned editId consistently for reads, edits, checkpoints, render submission and status.

  • create_video_composition_variationCreate a video cut
    Writes
    projects:write

    Create an empty cut or duplicate sourceEditId.

    What Claude Code is told

    Create an empty cut or duplicate sourceEditId. expectedRevision must match the source. Returns the new editId and revision; use them for subsequent edits. Each call creates a cut.

  • list_video_composition_checkpointsList timeline checkpoints
    Read-only
    projects:read

    List manual and automatic checkpoints for projectId and optional editId, including checkpoint ids, names and source/result revisions.

    What Claude Code is told

    List manual and automatic checkpoints for projectId and optional editId, including checkpoint ids, names and source/result revisions. Read-only; snapshot internals are omitted.

  • create_video_composition_checkpointSave a named timeline checkpoint
    Writes
    projects:write

    Save a named recovery point of the saved timeline with expectedRevision and optional editId.

    What Claude Code is told

    Save a named recovery point of the saved timeline with expectedRevision and optional editId. Does not advance the timeline revision. Each call creates a checkpoint.

  • restore_video_composition_checkpointRestore a timeline checkpoint
    Writes
    projects:write

    Restore checkpointId within this project and optional editId.

    What Claude Code is told

    Restore checkpointId within this project and optional editId. Requires expectedRevision from the current timeline and advances it atomically. A stale revision returns revision_conflict without overwriting newer work.

Credits

Every generation spends credits from your organization's balance. Amounts are credits, not money.

  • Estimate first. Over MCP, estimate_image_cost and estimate_video_cost take exactly the input of the generate tool. Over REST, add ?estimate=1 to the same request. Every check runs, nothing is created and nothing is charged.
  • Charged per generation. Each generation you start is charged to the organization; the accepted request tells you the amount as estimatedCredits. Several outputs in one call are billed per output.
  • No balance, no work. If the balance cannot cover a generation it is refused and nothing is created. The refusal says how many credits it needs and how many you have.
  • Failed work is free. A generation that fails is not charged. Cancelling one that has not reached the provider yet releases its credits.
Estimate response
{
  "estimatedCredits": 12.5,
  "model": "bytedance/seedance-2.5",
  "resolution": "480p",
  "durationSec": 8
}

Seedance 2.5: draft, then final

Video is the most expensive operation, so bytedance/seedance-2.5 (up to 30 seconds, native audio) supports a two-step flow:

  1. Render a cheaper 480p draft with draft: true and review it.
  2. Render the 1080p final by sending only draftGenerationId (plus the project and the model). The prompt, references, duration and audio are inherited from the draft, so the final matches what you approved.

The draft and the final are billed separately. Drafts can be finalized for 7 days. A request cannot be a draft and a final at once.

REST API

The same token works over plain HTTPS for scripts and your own apps. Claude Code users do not need this section.

Base URL and authentication

Base URL: https://app.dreamshot.io/api/v1. Send the token on every request as Authorization: Bearer dst_.... Bodies are JSON.

bash
export DREAMSHOT_TOKEN="dst_..."

curl https://app.dreamshot.io/api/v1/projects?limit=5 \
  -H "Authorization: Bearer $DREAMSHOT_TOKEN"

Endpoints

  • GET
    /api/v1/tools

    List the tools and model variants the API accepts.

    tools:read
  • POST
    /api/v1/generations

    Start a generation. Answers 202 and runs in the background.

    generation:write
  • POST
    /api/v1/generations?estimate=1

    Price the same request without running it. Free.

    generation:write
  • GET
    /api/v1/generations/:id

    Poll status: pending, completed, failed or cancelled.

    generation:read
  • GET
    /api/v1/generations/:id/media

    Output files, each with a signed download URL valid for 1 hour.

    media:read
  • POST
    /api/v1/generations/:id/cancel

    Cancel work that has not reached the provider yet.

    generation:write
  • GET
    /api/v1/voices

    Voices for create_voiceover. Organizations with audio enabled only.

    tools:read
  • GET
    /api/v1/projects

    List projects, newest update first (page, limit, search).

    projects:read
  • POST
    /api/v1/projects

    Create a project to hold new work.

    projects:write
  • GET
    /api/v1/projects/:id

    Read one project.

    projects:read
  • GET
    /api/v1/media/:id

    Read one media item and the generation that produced it (prompt, tool, variant).

    media:read

Start a generation

POST /api/v1/generations answers 202 at once with a generationId; the work runs in the background. Poll GET /api/v1/generations/:id (every ~10 s for images, ~30 s for video) until the status is completed, failed or cancelled, then read the files from /media.

tool
Required. A tool name from GET /api/v1/tools: ai_edit for images, create_video for video.
variant
The model, e.g. nano_banana_2 or bytedance/seedance-2.5. Omitted, the tool default is used. Only models enabled for your organization run (the MCP tool list_creative_capabilities lists them); others are refused.
projectId
The project the outputs land in. Must belong to the organization that owns the token.
params
Model inputs: prompt (English), aspectRatio, resolution, duration (video seconds as a string), generateAudio, outputFormat, draft, draftGenerationId. A value the model does not support answers 400 before anything is charged.
estimateOnly
true (or ?estimate=1 on the URL) prices the request and creates nothing.
Image request body
{
  "tool": "ai_edit",
  "variant": "nano_banana_2",
  "projectId": "<projectId>",
  "params": {
    "prompt": "A ceramic coffee mug on a linen tablecloth, soft morning light",
    "aspectRatio": "4:5"
  }
}
Reference images. The REST upload flow is changing. For now, upload reference images with the MCP upload tools (create_reference_upload then confirm_reference_upload) or in the app.

Example: Seedance 2.5 draft to final

1. Start the 480p draft (add ?estimate=1 to the URL first to see the price):

bash
curl -X POST "https://app.dreamshot.io/api/v1/generations" \
  -H "Authorization: Bearer $DREAMSHOT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "tool": "create_video",
    "variant": "bytedance/seedance-2.5",
    "projectId": "<projectId>",
    "params": {
      "prompt": "Slow dolly-in on a ceramic mug on a linen tablecloth, steam rising, soft morning light",
      "duration": "8",
      "aspectRatio": "16:9",
      "generateAudio": true,
      "draft": true
    }
  }'
Response
HTTP 202
{
  "generationId": "<draftGenerationId>",
  "status": "processing",
  "tool": "create_video",
  "variant": "bytedance/seedance-2.5",
  "estimatedCredits": 12.5
}

2. Poll until it completes:

bash
curl "https://app.dreamshot.io/api/v1/generations/<generationId>" \
  -H "Authorization: Bearer $DREAMSHOT_TOKEN"
Response
{
  "generationId": "<generationId>",
  "projectId": "<projectId>",
  "status": "completed",
  "tool": "create_video",
  "variant": "bytedance/seedance-2.5",
  "error": null,
  "createdAt": "2026-10-16T09:41:12.482Z",
  "userInput": { "...": "the inputs the generation ran with" },
  "mediaItems": [
    {
      "id": "<mediaId>",
      "displayUrl": "https://storage.dreamshot.io/...",
      "mediaKind": "video",
      "resolution": "854x480",
      "role": "output"
    }
  ]
}

3. Approve the draft, then render the 1080p final from it:

bash
curl -X POST "https://app.dreamshot.io/api/v1/generations" \
  -H "Authorization: Bearer $DREAMSHOT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "tool": "create_video",
    "variant": "bytedance/seedance-2.5",
    "projectId": "<projectId>",
    "params": { "draftGenerationId": "<draftGenerationId>" }
  }'

4. Poll the final the same way, then download it. Download links are signed and expire after 1 hour; ask again for a fresh one.

bash
curl "https://app.dreamshot.io/api/v1/generations/<generationId>/media" \
  -H "Authorization: Bearer $DREAMSHOT_TOKEN"

# { "generationId": "...", "media": [
#   { "id": "<mediaId>", "displayUrl": "...", "downloadUrl": "...",
#     "mediaKind": "video", "resolution": "1920x1080" } ] }

curl -L -o final.mp4 "<downloadUrl>"

Projects

Every generation lands in a project. List them with GET /api/v1/projects (page, limit up to 100, search on the name) or create one:

bash
curl -X POST "https://app.dreamshot.io/api/v1/projects" \
  -H "Authorization: Bearer $DREAMSHOT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Spring campaign", "description": "Mug launch visuals" }'

# HTTP 201, the project, including its "id"
GET /api/v1/projects response
{
  "items": [
    { "id": "<projectId>", "name": "Spring campaign", "type": "standard",
      "mediaCount": 12, "updatedAt": "2026-10-16T09:41:12.482Z", "...": "..." }
  ],
  "page": 1,
  "limit": 50,
  "totalItems": 1,
  "totalPages": 1,
  "hasNextPage": false
}

Errors

Errors are JSON with an error field and, in most cases, a human-readable message.

400
{
  "error": "validation_error",
  "message": "Required"
}
402
HTTP 402
{
  "error": "execution_error",
  "message": "Insufficient credits for this operation",
  "requiredCredits": 12.5,
  "availableCredits": 4.5
}
400
invalid_json, validation_error (the message names the problem) or a model input the model does not support.
401
unauthorized: missing, malformed, expired or revoked token.
402
Insufficient credits. Carries requiredCredits and availableCredits when known. Nothing was created.
403
forbidden: the token lacks the scope, the resource belongs to another organization, or the token creator left the organization.
404
Unknown or malformed id.
409
Cancel refused: the generation is already running or finished.
429
rate_limit_exceeded: the token used its hourly request budget.

Rate limits

Each token has an hourly request budget, 1,000 requests by default (set when the token is created, up to 10,000). MCP and REST calls made with the token share it. Past the budget, requests answer 429 with rate_limit_exceeded. Back off before retrying: when the response carries a Retry-After header, wait that many seconds. Poll at the intervals above rather than in a tight loop.

Security

A token acts as you, inside one organization, and can spend its credits.

  • Keep it secret. Never commit a token, paste it into a chat or a shared document, or put it in client-side code. Store it in an environment variable or a secret manager.
  • Revoke on leak. If a token may have been exposed, revoke it right away under API tokens and create a new one. Revocation takes effect on the next request.
  • Organization-scoped. A token only reaches the organization it was created in, and stops working if you leave that organization.
  • Least privilege. Grant only the permissions you need; a read-only token cannot generate or spend credits.
  • Tokens expire. Create a new one before the old one expires, and set a rate limit that matches how you use it.
A plain-text summary for AI tools lives at /llms.txt.