Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.377.0 (#1)
Browse files Browse the repository at this point in the history
Co-authored-by: speakeasybot <[email protected]>
  • Loading branch information
github-actions[bot] and speakeasybot authored Aug 21, 2024
1 parent aab3aa2 commit 6dbe8e9
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 18 deletions.
2 changes: 2 additions & 0 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ management:
generationVersion: 2.404.0
releaseVersion: 0.1.4
configChecksum: a4b1b6e1d971710b6648986f1a937812
repoURL: https://github.com/livepeer/livepeer-ai-python.git
installationURL: https://github.com/livepeer/livepeer-ai-python.git
features:
python:
additionalDependencies: 1.0.0
Expand Down
13 changes: 7 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ speakeasyVersion: 1.377.0
sources:
livepeer_ai-OAS:
sourceNamespace: livepeer-ai-oas
sourceRevisionDigest: sha256:f935b84686090859578d89ad592a698315085140725eef75bc986b278d06c8eb
sourceBlobDigest: sha256:e79605d14184030c02569e5f04d51cf4c2ecf820554cac6822c0519753983b97
sourceRevisionDigest: sha256:eaa66566d7629ca0b84b572f39576e8b38b87667aaa688ea98cf87629f7647ea
sourceBlobDigest: sha256:88b77186fc98fe193435d3069ab2e85fe4d404e802e4e23761979e984649ff70
tags:
- latest
- main
targets:
livepeer-ai:
source: livepeer_ai-OAS
Expand All @@ -16,11 +17,11 @@ targets:
livepeer-ai-python:
source: livepeer_ai-OAS
sourceNamespace: livepeer-ai-oas
sourceRevisionDigest: sha256:f935b84686090859578d89ad592a698315085140725eef75bc986b278d06c8eb
sourceBlobDigest: sha256:e79605d14184030c02569e5f04d51cf4c2ecf820554cac6822c0519753983b97
sourceRevisionDigest: sha256:eaa66566d7629ca0b84b572f39576e8b38b87667aaa688ea98cf87629f7647ea
sourceBlobDigest: sha256:88b77186fc98fe193435d3069ab2e85fe4d404e802e4e23761979e984649ff70
codeSamplesNamespace: code-samples-python-livepeer-python
codeSamplesRevisionDigest: sha256:591e8faefb83c96ac59afb02ddd1ec51b58481a1c1630de2f4c76419bb73d0fd
outLocation: /home/ricks/development/livepeer/ai/livepeer-ai-python
codeSamplesRevisionDigest: sha256:4b4d5d53563acb0a29f44c857bb3b87e8455831c298a17c1b3d02a7f235caca0
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
9 changes: 9 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@


## 2024-08-21 10:22:44
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.377.0 (2.404.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.1.4] .
24 changes: 12 additions & 12 deletions codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,6 @@ info:
title: CodeSamples overlay for python target
version: 0.0.0
actions:
- target: $["paths"]["/upscale"]["post"]
update:
"x-codeSamples":
- "lang": "python"
"label": "upscale"
"source": "from livepeer_ai import LivepeerAI\n\ns = LivepeerAI(\n http_bearer=\"<YOUR_BEARER_TOKEN_HERE>\",\n)\n\n\nres = s.upscale(request={\n \"prompt\": \"<value>\",\n \"image\": {\n \"file_name\": \"your_file_here\",\n \"content\": open(\"<file_path>\", \"rb\"),\n },\n})\n\nif res.image_response is not None:\n # handle response\n pass"
- target: $["paths"]["/audio-to-text"]["post"]
update:
"x-codeSamples":
- "lang": "python"
"label": "audio_to_text"
"source": "from livepeer_ai import LivepeerAI\n\ns = LivepeerAI(\n http_bearer=\"<YOUR_BEARER_TOKEN_HERE>\",\n)\n\n\nres = s.audio_to_text(request={\n \"audio\": {\n \"file_name\": \"your_file_here\",\n \"content\": open(\"<file_path>\", \"rb\"),\n },\n})\n\nif res.text_response is not None:\n # handle response\n pass"
- target: $["paths"]["/text-to-image"]["post"]
update:
"x-codeSamples":
Expand All @@ -33,3 +21,15 @@ actions:
- "lang": "python"
"label": "image_to_video"
"source": "from livepeer_ai import LivepeerAI\n\ns = LivepeerAI(\n http_bearer=\"<YOUR_BEARER_TOKEN_HERE>\",\n)\n\n\nres = s.image_to_video(request={\n \"image\": {\n \"file_name\": \"your_file_here\",\n \"content\": open(\"<file_path>\", \"rb\"),\n },\n})\n\nif res.video_response is not None:\n # handle response\n pass"
- target: $["paths"]["/upscale"]["post"]
update:
"x-codeSamples":
- "lang": "python"
"label": "upscale"
"source": "from livepeer_ai import LivepeerAI\n\ns = LivepeerAI(\n http_bearer=\"<YOUR_BEARER_TOKEN_HERE>\",\n)\n\n\nres = s.upscale(request={\n \"prompt\": \"<value>\",\n \"image\": {\n \"file_name\": \"your_file_here\",\n \"content\": open(\"<file_path>\", \"rb\"),\n },\n})\n\nif res.image_response is not None:\n # handle response\n pass"
- target: $["paths"]["/audio-to-text"]["post"]
update:
"x-codeSamples":
- "lang": "python"
"label": "audio_to_text"
"source": "from livepeer_ai import LivepeerAI\n\ns = LivepeerAI(\n http_bearer=\"<YOUR_BEARER_TOKEN_HERE>\",\n)\n\n\nres = s.audio_to_text(request={\n \"audio\": {\n \"file_name\": \"your_file_here\",\n \"content\": open(\"<file_path>\", \"rb\"),\n },\n})\n\nif res.text_response is not None:\n # handle response\n pass"

0 comments on commit 6dbe8e9

Please sign in to comment.