diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index 68b156fd..b749d631 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -17002,6 +17002,7 @@ components: example: model: 'bytedance-seed/seedream-4.5' prompt: 'a red panda astronaut floating in space, studio lighting' + response_format: 'url' properties: aspect_ratio: description: 'Normalized aspect ratio of the generated image. Providers clamp to their supported subset.' @@ -17125,7 +17126,7 @@ components: enum: - 'b64_json' - 'url' - example: 'b64_json' + example: 'url' type: 'string' seed: description: 'If specified, the generation will sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed for all providers.' @@ -17158,7 +17159,9 @@ components: example: created: 1748372400 data: - - b64_json: '' + - media_type: 'image/png' + url: 'https://storage.googleapis.com/openrouter-generated-media-us/v1/...' + expires_at: 1748458800 usage: completion_tokens: 4175 cost: 0.04 @@ -50613,6 +50616,7 @@ paths: example: model: 'bytedance-seed/seedream-4.5' prompt: 'a red panda astronaut floating in space, studio lighting' + response_format: 'url' schema: $ref: '#/components/schemas/ImageGenerationRequest' required: true @@ -50623,7 +50627,9 @@ paths: example: created: 1748372400 data: - - b64_json: '' + - media_type: 'image/png' + url: 'https://storage.googleapis.com/openrouter-generated-media-us/v1/...' + expires_at: 1748458800 usage: completion_tokens: 4175 cost: 0.04