Skip to content

Commit 52da1fd

Browse files
Update 2025-03-14 (friendliai#58)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent dbfa40d commit 52da1fd

12 files changed

Lines changed: 61 additions & 35 deletions

File tree

.speakeasy/gen.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: f3669dca-8853-4d85-914e-fb38172139b6
33
management:
4-
docChecksum: ee55e3b80e450853f4262f01e5dc1e81
4+
docChecksum: 00f3762aadb2975f250ad4cba4a8eb41
55
docVersion: 0.1.0
66
speakeasyVersion: 1.517.3
77
generationVersion: 2.548.6
8-
releaseVersion: 0.7.2
9-
configChecksum: 9fc8a3e42400315fe813e31cd5d58f2e
8+
releaseVersion: 0.7.3
9+
configChecksum: 2dd5527b2f55f35fbad452c6a8062e24
1010
repoURL: https://github.com/friendliai/friendli-python.git
1111
installationURL: https://github.com/friendliai/friendli-python.git
1212
published: true
@@ -613,7 +613,7 @@ examples:
613613
dedicatedImagesGenerate:
614614
Example:
615615
requestBody:
616-
application/json: {"prompt": "<value>", "num_inference_steps": 4, "response_format": "url"}
616+
application/json: {"model": "(endpoint-id)", "prompt": "An orange Lamborghini driving down a hill road at night with a beautiful ocean view in the background.", "num_inference_steps": 4, "response_format": "url"}
617617
responses:
618618
"200":
619619
application/json: {"data": [{"b64_json": "0x75e5323006", "format": "raw", "seed": 105213}]}

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ generation:
1515
oAuth2ClientCredentialsEnabled: true
1616
oAuth2PasswordEnabled: true
1717
python:
18-
version: 0.7.2
18+
version: 0.7.3
1919
additionalDependencies:
2020
dev: {}
2121
main: {}

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ speakeasyVersion: 1.517.3
22
sources:
33
Friendli-API-Schema:
44
sourceNamespace: friendli-api-schema
5-
sourceRevisionDigest: sha256:463cdd1ea53e0d48c244af6549d968d9cace1d2bd0e2b0644d89d7af7770b3b3
6-
sourceBlobDigest: sha256:98df76d533d7c4b1e01131536b7373b3893fc381ee97cdd0460043214c1a35d9
5+
sourceRevisionDigest: sha256:75a78c60d9f5eac70b53b352e4e790d24833ad3744f0f5ce9f1c3cdd3f87e946
6+
sourceBlobDigest: sha256:bc9c083d84dcb4184d11dc20082ba229c6d80eb06149e7ba576e13eaa70cded0
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1741851530
9+
- speakeasy-sdk-regen-1741916454
1010
targets:
1111
friendli:
1212
source: Friendli-API-Schema
1313
sourceNamespace: friendli-api-schema
14-
sourceRevisionDigest: sha256:463cdd1ea53e0d48c244af6549d968d9cace1d2bd0e2b0644d89d7af7770b3b3
15-
sourceBlobDigest: sha256:98df76d533d7c4b1e01131536b7373b3893fc381ee97cdd0460043214c1a35d9
14+
sourceRevisionDigest: sha256:75a78c60d9f5eac70b53b352e4e790d24833ad3744f0f5ce9f1c3cdd3f87e946
15+
sourceBlobDigest: sha256:bc9c083d84dcb4184d11dc20082ba229c6d80eb06149e7ba576e13eaa70cded0
1616
codeSamplesNamespace: friendli-api-schema-code-samples
17-
codeSamplesRevisionDigest: sha256:e431d4ca1758fa2352ee2fe6834ed4b36e5b3b74a4ec3f74e6ad931c1d610dac
17+
codeSamplesRevisionDigest: sha256:a8833444424b04f671d996d63be5b263b70069ac374d6e0dac05feab39cdc7e5
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,14 @@ Based on:
6969
### Generated
7070
- [python v0.7.2] .
7171
### Releases
72-
- [PyPI v0.7.2] https://pypi.org/project/friendli/0.7.2 - .
72+
- [PyPI v0.7.2] https://pypi.org/project/friendli/0.7.2 - .
73+
74+
## 2025-03-14 01:40:38
75+
### Changes
76+
Based on:
77+
- OpenAPI Doc
78+
- Speakeasy CLI 1.517.3 (2.548.6) https://github.com/speakeasy-api/speakeasy
79+
### Generated
80+
- [python v0.7.3] .
81+
### Releases
82+
- [PyPI v0.7.3] https://pypi.org/project/friendli/0.7.3 - .

docs/models/dedicatedimagegenerationbody.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ |
8-
| `prompt` | *str* | :heavy_check_mark: | A text description of the desired image(s). |
9-
| `num_inference_steps` | *OptionalNullable[int]* | :heavy_minus_sign: | The number of inference steps to use during image generation. Supported range: [1, 10]. Defaults to 4. |
10-
| `response_format` | [OptionalNullable[models.DedicatedImageGenerationBodyResponseFormat]](../models/dedicatedimagegenerationbodyresponseformat.md) | :heavy_minus_sign: | The format in which the generated image(s) will be returned. One of `url(default)`, `raw`, `png`, `jpeg`, and `jpg`. |
11-
| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | The seed to use for image generation. |
6+
| Field | Type | Required | Description | Example |
7+
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `model` | *str* | :heavy_check_mark: | ID of target endpoint. If you want to send request to specific adapter, use the format "YOUR_ENDPOINT_ID:YOUR_ADAPTER_ROUTE". Otherwise, you can just use "YOUR_ENDPOINT_ID" alone. | (endpoint-id) |
9+
| `prompt` | *str* | :heavy_check_mark: | A text description of the desired image(s). | |
10+
| `num_inference_steps` | *OptionalNullable[int]* | :heavy_minus_sign: | The number of inference steps to use during image generation. Supported range: [1, 10]. Defaults to 4. | |
11+
| `response_format` | [OptionalNullable[models.DedicatedImageGenerationBodyResponseFormat]](../models/dedicatedimagegenerationbodyresponseformat.md) | :heavy_minus_sign: | The format in which the generated image(s) will be returned. One of `url(default)`, `raw`, `png`, `jpeg`, and `jpg`. | |
12+
| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | The seed to use for image generation. | |

docs/models/dedicatedimagesgeneraterequest.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
8-
| `dedicated_image_generation_body` | [models.DedicatedImageGenerationBody](../models/dedicatedimagegenerationbody.md) | :heavy_check_mark: | N/A |
9-
| `x_friendli_team` | *OptionalNullable[str]* | :heavy_minus_sign: | ID of team to run requests as (optional parameter). |
6+
| Field | Type | Required | Description | Example |
7+
| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ |
8+
| `dedicated_image_generation_body` | [models.DedicatedImageGenerationBody](../models/dedicatedimagegenerationbody.md) | :heavy_check_mark: | N/A | {<br/>"model": "(endpoint-id)",<br/>"prompt": "An orange Lamborghini driving down a hill road at night with a beautiful ocean view in the background."<br/>} |
9+
| `x_friendli_team` | *OptionalNullable[str]* | :heavy_minus_sign: | ID of team to run requests as (optional parameter). | |

0 commit comments

Comments
 (0)