Skip to content

feat: Update video creation response type to notate it now returns a full video job#169

Merged
blainekasten merged 1 commit intomainfrom
blaine/eng-48747-update-video-create-response-type-in-openapi-spec-and-sdks
Nov 26, 2025
Merged

feat: Update video creation response type to notate it now returns a full video job#169
blainekasten merged 1 commit intomainfrom
blaine/eng-48747-update-video-create-response-type-in-openapi-spec-and-sdks

Conversation

@blainekasten
Copy link
Contributor

Tested this API locally and getting the full payload now. So this updates the spec to reflect it:

curl --request POST \
  --url https://api.together.xyz/v2/videos \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
     "prompt": "A cartoon of an astronaut riding a horse on the moon",
     "model": "minimax/video-01-director"
  }' | jq

{
  "object": "video",
  "id": "019ac13b-f589-7349-b4dd-a983563bbf65",
  "model": "minimax/video-01-director",
  "status": "in_progress",
  "created_at": 1764178523,
  "seconds": "6",
  "size": "1366x768"
}

@github-actions
Copy link

github-actions bot commented Nov 26, 2025

✱ Stainless preview builds

This PR will update the togetherai SDKs with the following commit message.

feat: Update video creation response type to notate it now returns a full video job

Edit this comment to update it. It will appear in the SDK's changelogs.

togetherai-typescript studio · code · diff

Your SDK built successfully.
generate ⚠️build ✅lint ✅test ✅

npm install https://pkg.stainless.com/s/togetherai-typescript/5d1452c5d54bc975b5e44201fa1222c528bbefb8/dist.tar.gz
New diagnostics (1 note)
💡 Schema/EnumHasOneMember: This enum schema has just one member, so it could be defined using [`const`](https://json-schema.org/understanding-json-schema/reference/const).
togetherai-python studio · code · diff

Your SDK built successfully.
generate ⚠️build ✅lint ✅test ⏳

pip install https://pkg.stainless.com/s/togetherai-python/0c5de0e2bc498dacf73cce088cfece05fb83ff39/together-2.0.0a7-py3-none-any.whl
New diagnostics (1 note)
💡 Schema/EnumHasOneMember: This enum schema has just one member, so it could be defined using [`const`](https://json-schema.org/understanding-json-schema/reference/const).
togetherai-go studio · code · diff

Your SDK built successfully.
generate ⚠️lint ❗test ❗

go get github.com/stainless-sdks/togetherai-go@e1065564f1babf22d9dba2b6072677c56c1d177b
New diagnostics (1 note)
💡 Schema/EnumHasOneMember: This enum schema has just one member, so it could be defined using [`const`](https://json-schema.org/understanding-json-schema/reference/const).
togetherai-terraform studio · code · diff

Your SDK built successfully.
generate ❗lint ❗test ❗

New diagnostics (1 note)
💡 Schema/EnumHasOneMember: This enum schema has just one member, so it could be defined using [`const`](https://json-schema.org/understanding-json-schema/reference/const).

This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push.
Last updated: 2025-11-26 18:15:53 UTC

@blainekasten blainekasten merged commit 7fe85b8 into main Nov 26, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants