Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.513.2
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Mar 7, 2025
1 parent 3361576 commit e36d711
Show file tree
Hide file tree
Showing 21 changed files with 581 additions and 247 deletions.
22 changes: 12 additions & 10 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
lockVersion: 2.0.0
id: 98621ff3-f200-4a5c-9c69-bc1fe845e39c
management:
docChecksum: 6657dd3e876a909472f364dc1fe34d72
docChecksum: eea382efbb6545b93db6c5b075e96409
docVersion: 0.0.0
speakeasyVersion: 1.480.0
generationVersion: 2.499.0
releaseVersion: 0.7.1
configChecksum: 283c20636f8ea078f683fa83624f7710
speakeasyVersion: 1.513.2
generationVersion: 2.545.2
releaseVersion: 0.8.0
configChecksum: 89bbc73f582f8f91edaf5b15443d1a1e
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.10
core: 3.7.2
defaultEnabledRetries: 0.2.0
envVarSecurityUsage: 0.3.2
globalSecurity: 2.82.10
flattening: 2.81.1
globalSecurity: 2.82.11
globalSecurityCallbacks: 0.1.0
globalSecurityFlattening: 0.1.0
globalServerURLs: 2.82.2
Expand Down Expand Up @@ -110,6 +111,7 @@ generatedFiles:
- docs/models/operations/genimagetoimageresponse.md
- docs/models/operations/genimagetotextresponse.md
- docs/models/operations/genimagetovideoresponse.md
- docs/models/operations/genlivevideotovideorequest.md
- docs/models/operations/genlivevideotovideoresponse.md
- docs/models/operations/genllmresponse.md
- docs/models/operations/gensegmentanything2response.md
Expand Down Expand Up @@ -252,10 +254,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-lava.org/", "publish_url": "https://vain-tabletop.biz", "control_url": "", "events_url": "", "model_id": "", "gateway_request_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://vain-kiss.name", "publish_url": "https://frail-duffel.com", "control_url": "", "events_url": "", "request_id": ""}
"400":
application/json: {"detail": {"msg": "<value>"}}
"422":
Expand Down
4 changes: 3 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ generation:
useClassNamesForArrayFields: true
fixes:
nameResolutionDec2023: true
nameResolutionFeb2025: false
parameterOrderingFeb2024: true
requestResponseComponentNamesFeb2024: true
securityFeb2025: false
auth:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
go:
version: 0.7.1
version: 0.8.0
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
speakeasyVersion: 1.480.0
speakeasyVersion: 1.513.2
sources:
livepeerai-OAS:
sourceNamespace: livepeerai-oas
sourceRevisionDigest: sha256:17df08f6003f51fd012286a1a4579ddd9ce9a377318644fc1c8bc9059fc6bd91
sourceBlobDigest: sha256:7c0df39c1c5f0ffe580b63f5dc6cb0f81181f5361a80f63f41314cf81d0f3bf4
sourceRevisionDigest: sha256:db11bae82d18f169474fd35f84058fd0de96ea62c356783caf2d195de47f6214
sourceBlobDigest: sha256:716236ed88f636664c3f92c8c6a24f2d2cc4fcf03862fc83398c322f3323aea0
tags:
- latest
- speakeasy-sdk-regen-1736900777
- speakeasy-sdk-regen-1739406403
- 0.0.0
targets:
livepeerai:
Expand All @@ -17,10 +17,10 @@ targets:
livepeerai-go:
source: livepeerai-OAS
sourceNamespace: livepeerai-oas
sourceRevisionDigest: sha256:17df08f6003f51fd012286a1a4579ddd9ce9a377318644fc1c8bc9059fc6bd91
sourceBlobDigest: sha256:7c0df39c1c5f0ffe580b63f5dc6cb0f81181f5361a80f63f41314cf81d0f3bf4
sourceRevisionDigest: sha256:db11bae82d18f169474fd35f84058fd0de96ea62c356783caf2d195de47f6214
sourceBlobDigest: sha256:716236ed88f636664c3f92c8c6a24f2d2cc4fcf03862fc83398c322f3323aea0
codeSamplesNamespace: code-samples-go-livepeerai-go
codeSamplesRevisionDigest: sha256:d919c3d9ec0aa7e1faf0cbc60f807b5ae75ce44626762362e3b8f1bf29488b54
codeSamplesRevisionDigest: sha256:17326e47dc90c191f5d296cdf4c8061bd8d67feb1e9e15883658badd57011401
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
74 changes: 10 additions & 64 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,7 @@ func main() {
)

res, err := s.Generate.TextToImage(ctx, components.TextToImageParams{
ModelID: livepeeraigo.String(""),
Loras: livepeeraigo.String(""),
Prompt: "<value>",
Height: livepeeraigo.Int64(576),
Width: livepeeraigo.Int64(1024),
GuidanceScale: livepeeraigo.Float64(7.5),
NegativePrompt: livepeeraigo.String(""),
SafetyCheck: livepeeraigo.Bool(true),
NumInferenceSteps: livepeeraigo.Int64(50),
NumImagesPerPrompt: livepeeraigo.Int64(1),
Prompt: "<value>",
}, operations.WithRetries(
retry.Config{
Strategy: "backoff",
Expand Down Expand Up @@ -93,16 +84,7 @@ func main() {
)

res, err := s.Generate.TextToImage(ctx, components.TextToImageParams{
ModelID: livepeeraigo.String(""),
Loras: livepeeraigo.String(""),
Prompt: "<value>",
Height: livepeeraigo.Int64(576),
Width: livepeeraigo.Int64(1024),
GuidanceScale: livepeeraigo.Float64(7.5),
NegativePrompt: livepeeraigo.String(""),
SafetyCheck: livepeeraigo.Bool(true),
NumInferenceSteps: livepeeraigo.Int64(50),
NumImagesPerPrompt: livepeeraigo.Int64(1),
Prompt: "<value>",
})
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -153,16 +135,7 @@ func main() {
)

res, err := s.Generate.TextToImage(ctx, components.TextToImageParams{
ModelID: livepeeraigo.String(""),
Loras: livepeeraigo.String(""),
Prompt: "<value>",
Height: livepeeraigo.Int64(576),
Width: livepeeraigo.Int64(1024),
GuidanceScale: livepeeraigo.Float64(7.5),
NegativePrompt: livepeeraigo.String(""),
SafetyCheck: livepeeraigo.Bool(true),
NumInferenceSteps: livepeeraigo.Int64(50),
NumImagesPerPrompt: livepeeraigo.Int64(1),
Prompt: "<value>",
})
if err != nil {

Expand Down Expand Up @@ -202,10 +175,10 @@ func main() {

You can override the default server globally using the `WithServerIndex(serverIndex int)` option when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers:

| # | Server |
| --- | ------------------------------------------- |
| 0 | `https://dream-gateway.livepeer.cloud` |
| 1 | `https://livepeer.studio/api/beta/generate` |
| # | Server | Description |
| --- | ------------------------------------------- | -------------------------------- |
| 0 | `https://dream-gateway.livepeer.cloud` | Livepeer Cloud Community Gateway |
| 1 | `https://livepeer.studio/api/beta/generate` | Livepeer Studio Gateway |

#### Example

Expand All @@ -228,16 +201,7 @@ func main() {
)

res, err := s.Generate.TextToImage(ctx, components.TextToImageParams{
ModelID: livepeeraigo.String(""),
Loras: livepeeraigo.String(""),
Prompt: "<value>",
Height: livepeeraigo.Int64(576),
Width: livepeeraigo.Int64(1024),
GuidanceScale: livepeeraigo.Float64(7.5),
NegativePrompt: livepeeraigo.String(""),
SafetyCheck: livepeeraigo.Bool(true),
NumInferenceSteps: livepeeraigo.Int64(50),
NumImagesPerPrompt: livepeeraigo.Int64(1),
Prompt: "<value>",
})
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -271,16 +235,7 @@ func main() {
)

res, err := s.Generate.TextToImage(ctx, components.TextToImageParams{
ModelID: livepeeraigo.String(""),
Loras: livepeeraigo.String(""),
Prompt: "<value>",
Height: livepeeraigo.Int64(576),
Width: livepeeraigo.Int64(1024),
GuidanceScale: livepeeraigo.Float64(7.5),
NegativePrompt: livepeeraigo.String(""),
SafetyCheck: livepeeraigo.Bool(true),
NumInferenceSteps: livepeeraigo.Int64(50),
NumImagesPerPrompt: livepeeraigo.Int64(1),
Prompt: "<value>",
})
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -352,16 +307,7 @@ func main() {
)

res, err := s.Generate.TextToImage(ctx, components.TextToImageParams{
ModelID: livepeeraigo.String(""),
Loras: livepeeraigo.String(""),
Prompt: "<value>",
Height: livepeeraigo.Int64(576),
Width: livepeeraigo.Int64(1024),
GuidanceScale: livepeeraigo.Float64(7.5),
NegativePrompt: livepeeraigo.String(""),
SafetyCheck: livepeeraigo.Bool(true),
NumInferenceSteps: livepeeraigo.Int64(50),
NumImagesPerPrompt: livepeeraigo.Int64(1),
Prompt: "<value>",
})
if err != nil {
log.Fatal(err)
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,14 @@ Based on:
### Generated
- [go v0.7.1] .
### Releases
- [Go v0.7.1] https://github.com/livepeer/livepeer-ai-go/releases/tag/v0.7.1 - .
- [Go v0.7.1] https://github.com/livepeer/livepeer-ai-go/releases/tag/v0.7.1 - .

## 2025-03-07 00:27:41
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.513.2 (2.545.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.8.0] .
### Releases
- [Go v0.8.0] https://github.com/livepeer/livepeer-ai-go/releases/tag/v0.8.0 - .
11 changes: 1 addition & 10 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,7 @@ func main() {
)

res, err := s.Generate.TextToImage(ctx, components.TextToImageParams{
ModelID: livepeeraigo.String(""),
Loras: livepeeraigo.String(""),
Prompt: "<value>",
Height: livepeeraigo.Int64(576),
Width: livepeeraigo.Int64(1024),
GuidanceScale: livepeeraigo.Float64(7.5),
NegativePrompt: livepeeraigo.String(""),
SafetyCheck: livepeeraigo.Bool(true),
NumInferenceSteps: livepeeraigo.Int64(50),
NumImagesPerPrompt: livepeeraigo.Int64(1),
Prompt: "<value>",
})
if err != nil {
log.Fatal(err)
Expand Down
Loading

0 comments on commit e36d711

Please sign in to comment.