Skip to content

feat(copy): correct SDK download workflow examples - #576

Merged
davidhu2000 merged 6 commits into
mainfrom
codex/node-download-options-docs
Oct 11, 2026
Merged

davidhu2000 merged 6 commits into
mainfrom
codex/node-download-options-docs

Conversation

@runshouse

@runshouse runshouse commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Fix SDK download examples in the existing inputs/outputs guide: Node workflow options belong in the second argument; automatic examples explicitly use Free-compatible z-image-turbo at 640px, check terminal status and nonempty saved paths before claiming success, and retain the original project ID for recovery. Manual multi-output examples fetch an explicit image-project status, use defined variables and print success only when their download helper returns true. Explain actual expires_at, cached URL reuse and Python streaming versus Node whole-file buffering. SDK/API, retention and signing behavior are unchanged.

Verified against published magic-hour@0.83.0, current Node/Python helper contracts and canonical Free model/resolution access. Independent review and remote Mintlify broken links, canonical Prettier and whitespace checks passed. No production generation/download or payment performed; this does not fix SDK exceptions before a result is returned or universal partial-download recovery. All three native checks passed at HEAD 3b0b17b7da968388e6edb0b506e65e5151d8b86a; Mintlify deployment skipped. No SDK runtime or tests changed.

@runshouse runshouse changed the title feat(copy): fix Node SDK download options example feat(copy): correct SDK download workflow examples Oct 11, 2026
@runshouse
runshouse requested a review from davidhu2000 October 11, 2026 23:08
@davidhu2000
davidhu2000 merged commit 8be6edb into main Oct 11, 2026
4 checks passed
@davidhu2000
davidhu2000 deleted the codex/node-download-options-docs branch October 11, 2026 23:55
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