Skip to content

[DOCS] Document reference_images on the Videos API request #728

Closed

Description

Summary

The Videos API request body gained a new public field: reference_images on CreateVideoRequest (inference-gateway/schemas#222, closes inference-gateway/schemas#221).

It is an array of binary multipart parts carrying reference images of the subject (e.g. the same person from several angles) for providers that keep a character consistent across shots (ElevenLabs veo-3.1-*, bytedance-seedance-v2*). It is distinct from input_reference, which stays the first frame or, for avatar models, the portrait to animate. Avatar (lip-sync) models ignore reference_images.

Affected pages: the Videos API reference / any page documenting POST /v1/videos and its multipart fields.

Acceptance Criteria

  • Videos API docs list reference_images and how to send repeated multipart parts.
  • Docs explain the difference from input_reference and note that avatar models ignore it.
  • Docs mention the request body size limit (SERVER_MAX_REQUEST_BODY_SIZE, 10 MiB default) applies to the whole multipart body.

Activity

  1. added
    documentation
    on Sep 22, 2026
  2. moved this to Todo in 2026on Sep 22, 2026
  3. added theissue type on Sep 22, 2026
  4. edenreich commented on Sep 22, 2026

    @edenreich
    Contributor

    @claude Can you document this? use /ponytail:ponytail

  5. inference-gateway-maintainer commented on Sep 22, 2026

    @inference-gateway-maintainer
    ContributorAuthor

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


    Documented reference_images on the Videos API

    • Read issue + repo conventions (CLAUDE.md)
    • Located the Videos API section (api-reference.md)
    • Added reference_images to the CreateVideoRequest table + a repeated-multipart curl example
    • Explained the difference from input_reference; avatar models ignore it
    • Noted SERVER_MAX_REQUEST_BODY_SIZE (10 MiB default) applies to the whole multipart body
    • bun run lint:md, bun run format:check, bun run build - all pass
    • Committed + opened PR docs: document reference_images on videos api #730

    What changed

    All in api-reference.md, Videos API section:

    • Field table: new reference_images row (file[]).
    • New "Reference images" subsection: curl sending one -F reference_images=@... part per image under the same field name (no indexes/brackets), plus the JS form.append vs form.set gotcha.
    • Distinction spelled out: input_reference is the single image the render starts from (first frame / avatar portrait); reference_images describes what the subject looks like so the character stays consistent across shots. Both may be sent together. elevenlabs/veo-3.1-* and bytedance-seedance-v2* honor it; avatar lip-sync models like elevenlabs/creatify-aurora ignore it.
    • Body size: noted in both the create-job intro and the new subsection that SERVER_MAX_REQUEST_BODY_SIZE (10 MiB default) covers the whole multipart body, not per file.
    • Linked schemas#222 alongside the existing schemas#213 reference.

    Not done

    SERVER_MAX_REQUEST_BODY_SIZE is still missing from the server settings table on configuration.md. That table is hand-maintained (not generated) and never had the setting; I left it alone rather than guess at its exact default/format. Say the word and I will add it.
    | Branch | PR #730

  6. moved this from Todo to In progress in 2026on Sep 22, 2026
  7. moved this from In progress to QA in 2026on Sep 22, 2026
  8. moved this from QA to Done in 2026on Sep 23, 2026
  9. inference-gateway-releaser commented on Sep 23, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.15 🎉

    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

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions