Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.DS_Store
**/.speakeasy/temp/
**/.speakeasy/logs/
.env
.env.local
.speakeasy/reports
# .gitignore
# IDEs
Expand Down
66 changes: 34 additions & 32 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
lockVersion: 2.0.0
id: 98621ff3-f200-4a5c-9c69-bc1fe845e39c
management:
docChecksum: 6657dd3e876a909472f364dc1fe34d72
docVersion: 0.0.0
speakeasyVersion: 1.480.0
generationVersion: 2.499.0
releaseVersion: 0.7.1
configChecksum: 283c20636f8ea078f683fa83624f7710
docChecksum: ccf6085748e452cf3e6a2d9f287f99de
docVersion: 0.13.11
speakeasyVersion: 1.649.0
generationVersion: 2.739.1
releaseVersion: 0.8.0
configChecksum: edf863dbb14cdeb9511ab20967288fb6
repoURL: https://github.com/livepeer/livepeer-ai-go.git
installationURL: https://github.com/livepeer/livepeer-ai-go
features:
go:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.6
core: 3.6.11
constsAndDefaults: 0.1.12
core: 3.13.0
defaultEnabledRetries: 0.2.0
envVarSecurityUsage: 0.3.2
globalSecurity: 2.82.10
globalSecurity: 2.82.12
globalSecurityCallbacks: 0.1.0
globalSecurityFlattening: 0.1.0
globalServerURLs: 2.82.2
globalServerURLs: 2.83.0
intellisenseMarkdownSupport: 0.1.0
nameOverrides: 2.81.2
responseFormat: 0.1.2
retries: 2.83.2
sdkHooks: 0.1.0
unions: 2.85.10
retries: 2.84.2
sdkHooks: 0.2.0
unions: 2.87.0
uploadStreams: 0.1.0
generatedFiles:
- .gitattributes
Expand Down Expand Up @@ -120,9 +120,9 @@ generatedFiles:
- docs/models/sdkerrors/httperror.md
- docs/models/sdkerrors/httpvalidationerror.md
- docs/sdks/generate/README.md
- docs/sdks/livepeer/README.md
- generate.go
- go.mod
- internal/config/sdkconfiguration.go
- internal/hooks/hooks.go
- internal/utils/contenttype.go
- internal/utils/env.go
Expand All @@ -138,11 +138,12 @@ generatedFiles:
- livepeer.go
- models/operations/options.go
- models/sdkerrors/sdkerror.go
- optionalnullable/optionalnullable.go
- optionalnullable/optionalnullable_test.go
- retry/config.go
- types/bigint.go
- types/date.go
- types/datetime.go
- types/decimal.go
- types/pointers.go
examples:
genTextToImage:
Expand All @@ -151,7 +152,7 @@ examples:
application/json: {"model_id": "", "loras": "", "prompt": "<value>", "height": 576, "width": 1024, "guidance_scale": 7.5, "negative_prompt": "", "safety_check": true, "num_inference_steps": 50, "num_images_per_prompt": 1}
responses:
"200":
application/json: {"images": [{"url": "https://hateful-cruelty.name", "seed": 857392, "nsfw": true}]}
application/json: {"images": []}
"400":
application/json: {"detail": {"msg": "<value>"}}
"422":
Expand All @@ -161,10 +162,10 @@ examples:
genImageToImage:
speakeasy-default-gen-image-to-image:
requestBody:
multipart/form-data: {"prompt": "<value>", "image": {"": "x-file: example.file"}, "model_id": "", "loras": "", "strength": 0.8, "guidance_scale": 7.5, "image_guidance_scale": 1.5, "negative_prompt": "", "safety_check": true, "num_inference_steps": 100, "num_images_per_prompt": 1}
multipart/form-data: {"prompt": "<value>", "image": "x-file: example.file", "model_id": "", "loras": "", "strength": 0.8, "guidance_scale": 7.5, "image_guidance_scale": 1.5, "negative_prompt": "", "safety_check": true, "num_inference_steps": 100, "num_images_per_prompt": 1}
responses:
"200":
application/json: {"images": [{"url": "https://selfish-operating.name/", "seed": 976514, "nsfw": false}]}
application/json: {"images": []}
"400":
application/json: {"detail": {"msg": "<value>"}}
"422":
Expand All @@ -174,10 +175,10 @@ examples:
genImageToVideo:
speakeasy-default-gen-image-to-video:
requestBody:
multipart/form-data: {"image": {"": "x-file: example.file"}, "model_id": "", "height": 576, "width": 1024, "fps": 6, "motion_bucket_id": 127, "noise_aug_strength": 0.02, "safety_check": true, "num_inference_steps": 25}
multipart/form-data: {"image": "x-file: example.file", "model_id": "", "height": 576, "width": 1024, "fps": 6, "motion_bucket_id": 127, "noise_aug_strength": 0.02, "safety_check": true, "num_inference_steps": 25}
responses:
"200":
application/json: {"images": [{"url": "https://low-handover.name/", "seed": 87160, "nsfw": true}]}
application/json: {"images": []}
"400":
application/json: {"detail": {"msg": "<value>"}}
"422":
Expand All @@ -187,10 +188,10 @@ examples:
genUpscale:
speakeasy-default-gen-upscale:
requestBody:
multipart/form-data: {"prompt": "<value>", "image": {"": "x-file: example.file"}, "model_id": "", "safety_check": true, "num_inference_steps": 75}
multipart/form-data: {"prompt": "<value>", "image": "x-file: example.file", "model_id": "", "safety_check": true, "num_inference_steps": 75}
responses:
"200":
application/json: {"images": [{"url": "https://bogus-typewriter.net", "seed": 311567, "nsfw": false}]}
application/json: {"images": []}
"400":
application/json: {"detail": {"msg": "<value>"}}
"422":
Expand All @@ -200,10 +201,10 @@ examples:
genAudioToText:
speakeasy-default-gen-audio-to-text:
requestBody:
multipart/form-data: {"audio": {"": "x-file: example.file"}, "model_id": "", "return_timestamps": "true"}
multipart/form-data: {"audio": "x-file: example.file", "model_id": "", "return_timestamps": "true"}
responses:
"200":
application/json: {"text": "<value>", "chunks": [{"timestamp": ["<value>", "<value>"], "text": "<value>"}, {"timestamp": [], "text": "<value>"}]}
application/json: {"text": "<value>", "chunks": []}
"400":
application/json: {"detail": {"msg": "<value>"}}
"422":
Expand All @@ -213,7 +214,7 @@ examples:
genSegmentAnything2:
speakeasy-default-gen-segment-anything2:
requestBody:
multipart/form-data: {"image": {"": "x-file: example.file"}, "model_id": "", "multimask_output": true, "return_logits": true, "normalize_coords": true}
multipart/form-data: {"image": "x-file: example.file", "model_id": "", "multimask_output": true, "return_logits": true, "normalize_coords": true}
responses:
"200":
application/json: {"masks": "<value>", "scores": "<value>", "logits": "<value>"}
Expand All @@ -226,10 +227,10 @@ examples:
genLLM:
speakeasy-default-gen-LLM:
requestBody:
application/json: {"messages": [], "model": "", "temperature": 0.7, "max_tokens": 256, "top_p": 1, "top_k": -1, "stream": false}
application/json: {"messages": [{"role": "<value>", "content": "<value>"}], "model": "", "temperature": 0.7, "max_tokens": 256, "top_p": 1, "top_k": -1, "stream": false}
responses:
"200":
application/json: {"id": "<id>", "model": "Expedition", "created": 755586, "usage": {"prompt_tokens": 348799, "completion_tokens": 332397, "total_tokens": 528534}, "choices": []}
application/json: {"id": "<id>", "model": "Explorer", "created": 166063, "usage": {"prompt_tokens": 213097, "completion_tokens": 185693, "total_tokens": 530500}, "choices": []}
"400":
application/json: {"detail": {"msg": "<value>"}}
"422":
Expand All @@ -239,7 +240,7 @@ examples:
genImageToText:
speakeasy-default-gen-image-to-text:
requestBody:
multipart/form-data: {"image": {"": "x-file: example.file"}, "prompt": "", "model_id": ""}
multipart/form-data: {"image": "x-file: example.file", "prompt": "", "model_id": ""}
responses:
"200":
application/json: {"text": "<value>"}
Expand All @@ -252,10 +253,10 @@ examples:
genLiveVideoToVideo:
speakeasy-default-gen-live-video-to-video:
requestBody:
application/json: {"subscribe_url": "https://soulful-lava.org/", "publish_url": "https://vain-tabletop.biz", "control_url": "", "events_url": "", "model_id": ""}
application/json: {"subscribe_url": "https://soulful-finding.biz", "publish_url": "https://monumental-representation.biz/", "control_url": "", "events_url": "", "model_id": "", "gateway_request_id": "", "manifest_id": "", "stream_id": ""}
responses:
"200":
application/json: {"subscribe_url": "https://vain-kiss.name", "publish_url": "https://frail-duffel.com", "control_url": "", "events_url": ""}
application/json: {"subscribe_url": "https://any-expense.com/", "publish_url": "https://early-abacus.org", "control_url": "", "events_url": "", "request_id": "", "manifest_id": ""}
"400":
application/json: {"detail": {"msg": "<value>"}}
"422":
Expand All @@ -268,12 +269,13 @@ examples:
application/json: {"model_id": "", "text": "", "description": "A male speaker delivers a slightly expressive and animated speech with a moderate speed and pitch."}
responses:
"200":
application/json: {"audio": {"url": "https://accurate-parsnip.net/"}}
application/json: {"audio": {"url": "https://slushy-elevation.net/"}}
"400":
application/json: {"detail": {"msg": "<value>"}}
"422":
application/json: {}
"500":
application/json: {"detail": {"msg": "<value>"}}
examplesVersion: 1.0.0
examplesVersion: 1.0.2
generatedTests: {}
releaseNotes: "## Go SDK Changes Detected:\n* `Livepeer.Generate.LiveVideoToVideo()`: \n * `request.Request` **Changed**\n * `response` **Changed**\n"
20 changes: 19 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,30 @@ generation:
maintainOpenAPIOrder: true
usageSnippets:
optionalPropertyRendering: withExample
sdkInitStyle: constructor
useClassNamesForArrayFields: true
fixes:
nameResolutionDec2023: true
nameResolutionFeb2025: false
parameterOrderingFeb2024: true
requestResponseComponentNamesFeb2024: true
securityFeb2025: false
sharedErrorComponentsApr2025: false
auth:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
hoistGlobalSecurity: true
schemas:
allOfMergeStrategy: shallowMerge
tests:
generateTests: true
generateNewTests: false
skipResponseBodyAssertions: false
go:
version: 0.7.1
version: 0.8.0
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
baseErrorName: LivepeerError
clientServerStatusCodesAsErrors: true
defaultErrorName: SDKError
flattenGlobalSecurity: true
Expand All @@ -27,9 +39,15 @@ go:
operations: models/operations
shared: models/components
webhooks: models/webhooks
includeEmptyObjects: false
inputModelSuffix: input
maxMethodParams: 4
methodArguments: require-security-and-request
modulePath: ""
nullableOptionalWrapper: false
outputModelSuffix: output
packageName: github.com/livepeer/livepeer-ai-go
respectRequiredFields: false
responseFormat: envelope-http
sdkPackageName: ""
unionDeserializationStrategy: left-to-right
16 changes: 8 additions & 8 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
speakeasyVersion: 1.480.0
speakeasyVersion: 1.649.0
sources:
livepeerai-OAS:
sourceNamespace: livepeerai-oas
sourceRevisionDigest: sha256:17df08f6003f51fd012286a1a4579ddd9ce9a377318644fc1c8bc9059fc6bd91
sourceBlobDigest: sha256:7c0df39c1c5f0ffe580b63f5dc6cb0f81181f5361a80f63f41314cf81d0f3bf4
sourceRevisionDigest: sha256:8e99fdc55b750db963079293d391dec5168c325a849ee9a52ef1dda1952b8917
sourceBlobDigest: sha256:3268e3640001fb0f0582a9328448f3235d0fe88448fa7a1249a4524ebdd452c8
tags:
- latest
- speakeasy-sdk-regen-1736900777
- 0.0.0
- speakeasy-sdk-regen-1739406403
- 0.13.11
targets:
livepeerai:
source: livepeerai-OAS
Expand All @@ -17,10 +17,10 @@ targets:
livepeerai-go:
source: livepeerai-OAS
sourceNamespace: livepeerai-oas
sourceRevisionDigest: sha256:17df08f6003f51fd012286a1a4579ddd9ce9a377318644fc1c8bc9059fc6bd91
sourceBlobDigest: sha256:7c0df39c1c5f0ffe580b63f5dc6cb0f81181f5361a80f63f41314cf81d0f3bf4
sourceRevisionDigest: sha256:8e99fdc55b750db963079293d391dec5168c325a849ee9a52ef1dda1952b8917
sourceBlobDigest: sha256:3268e3640001fb0f0582a9328448f3235d0fe88448fa7a1249a4524ebdd452c8
codeSamplesNamespace: code-samples-go-livepeerai-go
codeSamplesRevisionDigest: sha256:d919c3d9ec0aa7e1faf0cbc60f807b5ae75ce44626762362e3b8f1bf29488b54
codeSamplesRevisionDigest: sha256:267119d169de9b1de80b9cf8c71c6032d66bf4763c42812850adcabe32be70af
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
Loading