Skip to content

Commit 10b8db1

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#872)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent ec86b90 commit 10b8db1

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28276,6 +28276,11 @@ components:
2827628276
type: 'array'
2827728277
model:
2827828278
type: 'string'
28279+
previous_job_id:
28280+
description: 'ID of a completed video job to edit or extend, as returned by the submit response. The new job runs on the same model and endpoint that produced the previous one. Only models that support continuation accept this field.'
28281+
example: 'gen-vid-1789493115-a1B2c3D4e5F6g7H8i9J0'
28282+
pattern: '^gen-vid-\d+-[0-9A-Za-z]{20}$'
28283+
type: 'string'
2827928284
prompt:
2828028285
description: 'Text prompt describing the video to generate. Optional for models that support generating a video from image input alone; required by all other models.'
2828128286
example: 'A serene mountain landscape at sunset'
@@ -28333,9 +28338,9 @@ components:
2833328338
type: 'object'
2833428339
VideoGenerationResponse:
2833528340
example:
28336-
generation_id: 'gen-xyz789'
28337-
id: 'job-abc123'
28338-
polling_url: '/api/v1/videos/job-abc123'
28341+
generation_id: 'gen-vid-1789480874-Ab3dEf9hIjKlMnOpQrSt'
28342+
id: 'gen-vid-1789480874-Ab3dEf9hIjKlMnOpQrSt'
28343+
polling_url: '/api/v1/videos/gen-vid-1789480874-Ab3dEf9hIjKlMnOpQrSt'
2833928344
status: 'pending'
2834028345
properties:
2834128346
error:
@@ -28344,6 +28349,7 @@ components:
2834428349
description: 'The generation ID associated with this video generation job. Available once the job has been processed.'
2834528350
type: 'string'
2834628351
id:
28352+
description: 'The video job ID, in the `gen-vid-<timestamp>-<20 alphanumerics>` generation ID format. Pass it as `previous_job_id` to continue the generation.'
2834728353
type: 'string'
2834828354
polling_url:
2834928355
type: 'string'

0 commit comments

Comments
 (0)