File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/gradient/resources/images Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 174
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/digitalocean%2Fgradient-3c4f564a80bb85ffc7e12ef4645c48a750ec0aba973975c170a9eb263c203c5e .yml
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/digitalocean%2Fgradient-40c154e2fdc4fef9ca1cf8329c29b7102bf324acfc9589571d6f3452d1ca579c .yml
33openapi_spec_hash : 83a3d092965fde776b29b61f785459f9
4- config_hash : 9014a0ec1e08e776f0b3f12f4412b516
4+ config_hash : ddab0a714b26eb4a0ed28df928df0b05
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ def create(
122122 return self ._post (
123123 "/images/generations"
124124 if self ._client ._base_url_overridden
125- else f"{ self ._client .inference_endpoint } /images/generations" ,
125+ else f"{ self ._client .inference_endpoint } /v1/ images/generations" ,
126126 body = maybe_transform (
127127 {
128128 "prompt" : prompt ,
@@ -246,7 +246,7 @@ async def create(
246246 return await self ._post (
247247 "/images/generations"
248248 if self ._client ._base_url_overridden
249- else f"{ self ._client .inference_endpoint } /images/generations" ,
249+ else f"{ self ._client .inference_endpoint } /v1/ images/generations" ,
250250 body = await async_maybe_transform (
251251 {
252252 "prompt" : prompt ,
You can’t perform that action at this time.
0 commit comments