Expand description
Explicit video invocation, resource publication and durable job bindings.
Structs§
- Reverse
Video Binding - Host-selected target/API facts, persisted before any publication or create.
- Reverse
Video Child - Reverse
Video Progress - Reverse
Video State - Video
Binding - Stable host facts.
originmust identify the selected target in the host’s state scope. The host supplies its API prefix; it is never inferred from IDs. - Video
JobState - Video
Limits - Video
Progress - Caller-owned progress survives dropped futures and post-create failures. The native response is retained before binding/publication work begins.
Enums§
Constants§
- VIDEO_
STATE_ TTL - How long a video job’s state outlives its latest write. Every write (the reservation, the create reply, each poll) pushes the expiry out again, so the window counts from the last time the client touched the job. Veo takes minutes to finish a job and keeps a generated video for two days; seven days covers a slow poller and a content download well after that, while no longer keeping every job the gateway has ever created.
Functions§
- gemini_
to_ openai_ create - gemini_
to_ openai_ query - gemini_
video_ create_ composed - gemini_
video_ query_ composed - Poll a selected child using its exact recorded resource path. Other children retain their actual outcomes and are never implicitly recreated or polled.
- gemini_
video_ resume_ composed - Continue only children whose durable
startedmarker is false. A started child without a retained result requires explicit caller reconciliation. - native_
content - Reads the actual completed video’s bytes for the native
/contentroute. The selected target resource scope supplies authorization for private URIs. - native_
create - Native Sora-style create/retrieve preserve their own ID, seconds and size contract; they do not pass through the OpenRouter/Veo mapper.
- native_
retrieve - native_
to_ gemini_ create_ composed - native_
to_ gemini_ query_ composed - openai_
to_ gemini_ create - openai_
to_ gemini_ create_ composed - openai_
to_ gemini_ query - openai_
to_ gemini_ query_ composed - publish_
video_ output - recover_
created_ result - Complete binding/publication from the actual retained result of this call. This never issues another upstream create or guesses an unknown operation.
- recover_
native_ result - recover_
reverse_ video_ result - Persist a retained, real result after a post-send CAS failure. This performs no upstream request; unknown outcomes need caller reconciliation first.