Skip to content

[DOCS] VideoToSFX tool and the video scoring form on the Audio API page #1218

Closed

Description


name: Documentation request
about: Request documentation improvements or additions
title: '[DOCS] VideoToSFX tool and the video scoring form on the Audio API page'
labels: documentation
type: Task
assignees: ''

Summary

The CLI now ships a VideoToSFX agent tool that scores a user-selected video through the gateway's POST /v1/audio/sfx multipart form: the clip as the video part plus optional prompt, duration_seconds, start_offset_seconds, preserve_speech and output fields, answered with raw audio and an extension-matching save path (gateway side implemented in inference-gateway/inference-gateway#864; the CLI PR is linked below). The docs repo still documents the endpoint for JSON text-to-sfx only and does not cover the new tool. Please cover the new form, the tool and its configuration: the mix / sfx / speech tracks, the request body limit (SERVER_MAX_REQUEST_BODY_SIZE), the 150 s scoring budget, and the new video_to_sfx config block with its env overrides.

Acceptance Criteria

  • The Audio API page documents the multipart video form on POST /v1/audio/sfx: fields, a sample request, the SERVER_MAX_REQUEST_BODY_SIZE body limit and the credits note
  • The mix / sfx / speech tracks and the 150 s scoring budget are described, including that a clip without dialogue has no speech track
  • The CLI agent-tools overview gains the VideoToSFX tool: what it does, the clip lookup rule, and that it ships disabled because the user's footage is uploaded to a third party
  • The video_to_sfx config block (enabled, model, output_dir, require_approval) and the INFER_VIDEO_TO_SFX_* env variables are listed with their mirroring semantics

Activity

  1. added
    documentation
    on Nov 15, 2026
  2. edenreich commented on Nov 15, 2026

    @edenreich
    Contributor

    @claude Is this still relevant, if yes, can you work on this?

    Finally please check all the other issues in the repo and flag if there is a duplicate that can be closed.

  3. inference-gateway-maintainer commented on Nov 15, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 3m 3s —— View job • docs/issue-1218-20261115-1446 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1218-20261115-1446?quick_pull=1&title=Issue%20%231218%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231218%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Still relevant - partly. Done.

    • Check what the docs already cover
    • Fill the remaining gaps
    • Validate (lint:md, format:check, build)
    • Commit and open the PR
    • Scan the other open issues for duplicates

    What was already covered

    The Audio API page already documents the multipart video form on POST /v1/audio/sfx - the fields table, sample requests, the SERVER_MAX_REQUEST_BODY_SIZE body limit, the credits note, the mix / sfx / speech tracks and the "a clip without dialogue has no speech track" case all landed with the earlier video-scoring work (api-reference.md, the "Scoring a video" section). So acceptance criteria 1 and 2 were met except the 150 s budget.

    What this PR adds

    • cli.md - a VideoToSFX Tool section in Audio Tools: what it does, the parameters, the clip lookup rule (working directory, then the TextToVideo output directory), and that it ships disabled because the user's footage is uploaded to a third party.
    • cli.md - the video_to_sfx block (enabled, model, output_dir, require_approval) with the INFER_VIDEO_TO_SFX_* overrides and their mirroring/tri-state semantics, plus the body-limit and 150 s deadline note.
    • cli.md - VideoToSFX in the tool-category overview table, and video_to_sfx.output_dir on the sfx/ media-directories row.
    • api-reference.md - the 150 s scoring budget and the resulting 504, and a link from the SFX section to the new CLI tool.

    The dub key and the DubVideo tool are left out on purpose - they belong to #1219.

    PR: #1221

    Duplicate check

    Three issues are open: #1218 (this one), #1219 and #1220. No duplicate to close.

  4. moved this from Todo to In progress in 2026on Nov 15, 2026
  5. moved this from In progress to QA in 2026on Nov 15, 2026
  6. moved this from QA to Done in 2026on Nov 15, 2026
  7. inference-gateway-releaser commented on Nov 17, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.27 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions