relaygpu-client 0.1.2__tar.gz → 0.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/CHANGELOG.md +10 -1
  2. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/PKG-INFO +15 -7
  3. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/README.md +14 -6
  4. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/pyproject.toml +1 -1
  5. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_generated/error_codes.py +84 -0
  6. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_generated/models_map.py +22 -2
  7. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_generated/types.py +454 -6
  8. relaygpu_client-0.1.3/relaygpu/_version.py +1 -0
  9. relaygpu_client-0.1.2/relaygpu/_version.py +0 -1
  10. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/.gitignore +0 -0
  11. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/LICENSE +0 -0
  12. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/__init__.py +0 -0
  13. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_async/__init__.py +0 -0
  14. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_async/_http.py +0 -0
  15. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_async/account.py +0 -0
  16. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_async/audio.py +0 -0
  17. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_async/client.py +0 -0
  18. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_async/estimate.py +0 -0
  19. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_async/files.py +0 -0
  20. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_async/image.py +0 -0
  21. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_async/keys.py +0 -0
  22. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_async/models.py +0 -0
  23. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_async/run.py +0 -0
  24. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_async/tasks.py +0 -0
  25. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_async/video.py +0 -0
  26. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_async/webhooks.py +0 -0
  27. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_async/workflows.py +0 -0
  28. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_clock.py +0 -0
  29. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_core.py +0 -0
  30. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_errors.py +0 -0
  31. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_estimate.py +0 -0
  32. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_exceptions.py +0 -0
  33. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_generated/__init__.py +0 -0
  34. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_images.py +0 -0
  35. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_run_common.py +0 -0
  36. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_shapes.py +0 -0
  37. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_sync/__init__.py +0 -0
  38. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_sync/_http.py +0 -0
  39. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_sync/account.py +0 -0
  40. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_sync/audio.py +0 -0
  41. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_sync/client.py +0 -0
  42. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_sync/estimate.py +0 -0
  43. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_sync/files.py +0 -0
  44. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_sync/image.py +0 -0
  45. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_sync/keys.py +0 -0
  46. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_sync/models.py +0 -0
  47. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_sync/run.py +0 -0
  48. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_sync/tasks.py +0 -0
  49. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_sync/video.py +0 -0
  50. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_sync/webhooks.py +0 -0
  51. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_sync/workflows.py +0 -0
  52. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/_util.py +0 -0
  53. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/async_client.py +0 -0
  54. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/client.py +0 -0
  55. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/errors.py +0 -0
  56. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/inputs.py +0 -0
  57. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/py.typed +0 -0
  58. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/types.py +0 -0
  59. {relaygpu_client-0.1.2 → relaygpu_client-0.1.3}/relaygpu/webhooks.py +0 -0
@@ -3,7 +3,16 @@
3
3
  `relaygpu-client` versions track the TypeScript client [`@relaygpu/client`](https://www.npmjs.com/package/@relaygpu/client)
4
4
  minor for minor: 0.1.x here is the port of 0.1.x there. The API may change before 1.0.
5
5
 
6
- ## 0.1.2 (unreleased)
6
+ ## 0.1.3 (2026-11-09)
7
+
8
+ - **Generated types** follow the prod public spec of 2026-11-08 (Relay Roll 47): the OpenAI Responses route
9
+ (`POST /v2/openai/v1/responses`; a base-URL swap on the OpenAI SDK, stateless), the ClarityAI upscalers
10
+ (`/v2/image/clarity/upscale`), MiniMax H3 V2V, `moonshotai/kimi-k3.1-pro`, `GET /v2/customer/keys/{key}`,
11
+ `result_field` on the model detail, `cancel_requested` on workflow runs, numeric pricing cells, the Smith and
12
+ subscription routes with their fourteen error codes as typed errors. `openai/whisper-1` left the public model map
13
+ (retired 2026-11-02; use `relay/stt-1`).
14
+
15
+ ## 0.1.2 (2026-10-24)
7
16
 
8
17
  - **Catalog reads are account-aware.** `models.list`, `models.get`, `pricing.get` and `tiers.list` now send the
9
18
  client's credential (`api_key` or `jwt`), so with one they return your account's view: the models your tier and
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: relaygpu-client
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Python client for the Relay API: image, video and audio generation, tasks, files, webhooks, workflows and typed errors.
5
5
  Project-URL: Homepage, https://relaygpu.com
6
6
  Project-URL: Repository, https://github.com/OpenGPU-Network/relaygpu-python
@@ -36,7 +36,7 @@ Description-Content-Type: text/markdown
36
36
 
37
37
  The Python client for [Relay](https://relaygpu.com): image, video and audio generation, async tasks, file
38
38
  uploads, webhook verification, workflows, account and keys, with typed errors. Request and response types are
39
- generated from Relay's public OpenAPI spec. Chat is not wrapped: point the OpenAI or Anthropic SDK at Relay
39
+ generated from Relay's public OpenAPI spec. Chat is not wrapped: point the OpenAI SDK at Relay
40
40
  ([quickstart 6](#6-chat-use-the-sdk-you-already-have)). A port of the TypeScript client
41
41
  [`@relaygpu/client`](https://www.npmjs.com/package/@relaygpu/client), version for version (0.1.x ↔ 0.1.x).
42
42
 
@@ -284,9 +284,9 @@ with Relay(os.environ["RELAY_API_KEY"], base_url=os.environ.get("RELAY_BASE_URL"
284
284
  sys.exit(f"run {e.task_id} did not complete: {e}")
285
285
  ```
286
286
 
287
- ### 6. Chat: use the SDK you already have
287
+ ### 6. Text: use the SDK you already have
288
288
 
289
- Chat and completions run on the official OpenAI and Anthropic SDKs: point them at Relay. This SDK does not wrap
289
+ Chat and completions run on the official OpenAI SDK: point it at Relay. This SDK does not wrap
290
290
  chat. `openai` is an example dependency only (`pip install openai`); `relaygpu-client` does not need it.
291
291
  ([`examples/06_chat_base_url.py`](examples/06_chat_base_url.py))
292
292
 
@@ -306,6 +306,15 @@ completion = client.chat.completions.create(
306
306
  print(completion.choices[0].message.content)
307
307
  ```
308
308
 
309
+ The Responses API is the same swap, on the same base URL, for the `openai` models that list it (`GET /v2/models`):
310
+
311
+ ```python
312
+ response = client.responses.create(model="openai/gpt-5.5", input="Say hello in five words.")
313
+ print(response.output_text)
314
+ ```
315
+
316
+ Responses on Relay is stateless: Relay sets `store: false`, and `previous_response_id` and `conversation` are refused. Resend the `input` each turn.
317
+
309
318
  ## Any model: `run()` and model resolution
310
319
 
311
320
  ```python
@@ -555,14 +564,13 @@ CPython 3.10, 3.11, 3.12 and 3.13, tested in CI on each. One runtime dependency,
555
564
  (`AsyncRelay` runs on `asyncio`). `relay.request(method, path, json=...)` reaches any route
556
565
  with the same errors and retry policy.
557
566
 
558
- ## Chat
567
+ ## Text
559
568
 
560
- Chat is a base-URL swap on the official SDKs, in any language:
569
+ Chat is a base-URL swap on the official SDK, in any language:
561
570
 
562
571
  | SDK | Base URL |
563
572
  |---|---|
564
573
  | OpenAI | `https://relaygpu.com/v2/openai/v1` |
565
- | Anthropic | `https://relaygpu.com/v2/anthropic` |
566
574
 
567
575
  ## License
568
576
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  The Python client for [Relay](https://relaygpu.com): image, video and audio generation, async tasks, file
6
6
  uploads, webhook verification, workflows, account and keys, with typed errors. Request and response types are
7
- generated from Relay's public OpenAPI spec. Chat is not wrapped: point the OpenAI or Anthropic SDK at Relay
7
+ generated from Relay's public OpenAPI spec. Chat is not wrapped: point the OpenAI SDK at Relay
8
8
  ([quickstart 6](#6-chat-use-the-sdk-you-already-have)). A port of the TypeScript client
9
9
  [`@relaygpu/client`](https://www.npmjs.com/package/@relaygpu/client), version for version (0.1.x ↔ 0.1.x).
10
10
 
@@ -252,9 +252,9 @@ with Relay(os.environ["RELAY_API_KEY"], base_url=os.environ.get("RELAY_BASE_URL"
252
252
  sys.exit(f"run {e.task_id} did not complete: {e}")
253
253
  ```
254
254
 
255
- ### 6. Chat: use the SDK you already have
255
+ ### 6. Text: use the SDK you already have
256
256
 
257
- Chat and completions run on the official OpenAI and Anthropic SDKs: point them at Relay. This SDK does not wrap
257
+ Chat and completions run on the official OpenAI SDK: point it at Relay. This SDK does not wrap
258
258
  chat. `openai` is an example dependency only (`pip install openai`); `relaygpu-client` does not need it.
259
259
  ([`examples/06_chat_base_url.py`](examples/06_chat_base_url.py))
260
260
 
@@ -274,6 +274,15 @@ completion = client.chat.completions.create(
274
274
  print(completion.choices[0].message.content)
275
275
  ```
276
276
 
277
+ The Responses API is the same swap, on the same base URL, for the `openai` models that list it (`GET /v2/models`):
278
+
279
+ ```python
280
+ response = client.responses.create(model="openai/gpt-5.5", input="Say hello in five words.")
281
+ print(response.output_text)
282
+ ```
283
+
284
+ Responses on Relay is stateless: Relay sets `store: false`, and `previous_response_id` and `conversation` are refused. Resend the `input` each turn.
285
+
277
286
  ## Any model: `run()` and model resolution
278
287
 
279
288
  ```python
@@ -523,14 +532,13 @@ CPython 3.10, 3.11, 3.12 and 3.13, tested in CI on each. One runtime dependency,
523
532
  (`AsyncRelay` runs on `asyncio`). `relay.request(method, path, json=...)` reaches any route
524
533
  with the same errors and retry policy.
525
534
 
526
- ## Chat
535
+ ## Text
527
536
 
528
- Chat is a base-URL swap on the official SDKs, in any language:
537
+ Chat is a base-URL swap on the official SDK, in any language:
529
538
 
530
539
  | SDK | Base URL |
531
540
  |---|---|
532
541
  | OpenAI | `https://relaygpu.com/v2/openai/v1` |
533
- | Anthropic | `https://relaygpu.com/v2/anthropic` |
534
542
 
535
543
  ## License
536
544
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "relaygpu-client"
7
- version = "0.1.2"
7
+ version = "0.1.3"
8
8
  description = "Python client for the Relay API: image, video and audio generation, tasks, files, webhooks, workflows and typed errors."
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -274,6 +274,62 @@ class ServiceUnavailableError(CapacityError):
274
274
  """`SERVICE_UNAVAILABLE` (HTTP 503)."""
275
275
 
276
276
 
277
+ class SmithLevelUnavailableError(ValidationError):
278
+ """`SMITH_LEVEL_UNAVAILABLE` (HTTP 422)."""
279
+
280
+
281
+ class SmithMessageStartedError(ConflictError):
282
+ """`SMITH_MESSAGE_STARTED` (HTTP 409)."""
283
+
284
+
285
+ class SmithNotEntitledError(PermissionDeniedError):
286
+ """`SMITH_NOT_ENTITLED` (HTTP 403)."""
287
+
288
+
289
+ class SmithNotFoundError(NotFoundError):
290
+ """`SMITH_NOT_FOUND` (HTTP 404)."""
291
+
292
+
293
+ class SmithQueueFullError(ConflictError):
294
+ """`SMITH_QUEUE_FULL` (HTTP 409)."""
295
+
296
+
297
+ class SmithSessionBusyError(ConflictError):
298
+ """`SMITH_SESSION_BUSY` (HTTP 409)."""
299
+
300
+
301
+ class SmithStepNotPausedError(ConflictError):
302
+ """`SMITH_STEP_NOT_PAUSED` (HTTP 409)."""
303
+
304
+
305
+ class SmithTurnLimitError(ValidationError):
306
+ """`SMITH_TURN_LIMIT` (HTTP 422)."""
307
+
308
+
309
+ class SmithUnavailableError(CapacityError):
310
+ """`SMITH_UNAVAILABLE` (HTTP 503)."""
311
+
312
+
313
+ class SubscriptionChargeFailedError(InsufficientCreditsError):
314
+ """`SUBSCRIPTION_CHARGE_FAILED` (HTTP 402)."""
315
+
316
+
317
+ class SubscriptionExistsError(ConflictError):
318
+ """`SUBSCRIPTION_EXISTS` (HTTP 409)."""
319
+
320
+
321
+ class SubscriptionNotEligibleError(PermissionDeniedError):
322
+ """`SUBSCRIPTION_NOT_ELIGIBLE` (HTTP 403)."""
323
+
324
+
325
+ class SubscriptionTrialUsedError(ConflictError):
326
+ """`SUBSCRIPTION_TRIAL_USED` (HTTP 409)."""
327
+
328
+
329
+ class SubscriptionUnavailableError(CapacityError):
330
+ """`SUBSCRIPTION_UNAVAILABLE` (HTTP 503)."""
331
+
332
+
277
333
  class SuperkeyConflictError(ConflictError):
278
334
  """`SUPERKEY_CONFLICT` (HTTP 409)."""
279
335
 
@@ -388,6 +444,20 @@ ERROR_CODE_CLASSES: dict[str, type[RelayAPIError]] = {
388
444
  "ROUTING_ON_FIXED_MODEL": RoutingOnFixedModelError,
389
445
  "SCOPE_DENIED": ScopeDeniedError,
390
446
  "SERVICE_UNAVAILABLE": ServiceUnavailableError,
447
+ "SMITH_LEVEL_UNAVAILABLE": SmithLevelUnavailableError,
448
+ "SMITH_MESSAGE_STARTED": SmithMessageStartedError,
449
+ "SMITH_NOT_ENTITLED": SmithNotEntitledError,
450
+ "SMITH_NOT_FOUND": SmithNotFoundError,
451
+ "SMITH_QUEUE_FULL": SmithQueueFullError,
452
+ "SMITH_SESSION_BUSY": SmithSessionBusyError,
453
+ "SMITH_STEP_NOT_PAUSED": SmithStepNotPausedError,
454
+ "SMITH_TURN_LIMIT": SmithTurnLimitError,
455
+ "SMITH_UNAVAILABLE": SmithUnavailableError,
456
+ "SUBSCRIPTION_CHARGE_FAILED": SubscriptionChargeFailedError,
457
+ "SUBSCRIPTION_EXISTS": SubscriptionExistsError,
458
+ "SUBSCRIPTION_NOT_ELIGIBLE": SubscriptionNotEligibleError,
459
+ "SUBSCRIPTION_TRIAL_USED": SubscriptionTrialUsedError,
460
+ "SUBSCRIPTION_UNAVAILABLE": SubscriptionUnavailableError,
391
461
  "SUPERKEY_CONFLICT": SuperkeyConflictError,
392
462
  "SYSTEM_KEY_IMMUTABLE": SystemKeyImmutableError,
393
463
  "TASK_NOT_FOUND": TaskNotFoundError,
@@ -469,6 +539,20 @@ __all__ = [
469
539
  "RoutingOnFixedModelError",
470
540
  "ScopeDeniedError",
471
541
  "ServiceUnavailableError",
542
+ "SmithLevelUnavailableError",
543
+ "SmithMessageStartedError",
544
+ "SmithNotEntitledError",
545
+ "SmithNotFoundError",
546
+ "SmithQueueFullError",
547
+ "SmithSessionBusyError",
548
+ "SmithStepNotPausedError",
549
+ "SmithTurnLimitError",
550
+ "SmithUnavailableError",
551
+ "SubscriptionChargeFailedError",
552
+ "SubscriptionExistsError",
553
+ "SubscriptionNotEligibleError",
554
+ "SubscriptionTrialUsedError",
555
+ "SubscriptionUnavailableError",
472
556
  "SuperkeyConflictError",
473
557
  "SystemKeyImmutableError",
474
558
  "TaskNotFoundError",
@@ -13,7 +13,6 @@ MODEL_OPERATIONS: dict[str, dict[str, str]] = {
13
13
  "MiniMax/speech-2.8-hd": "audio_minimax_speech_2_8_hd_generate",
14
14
  "Qwen/qwen3-tts-flash": "audio_qwen3_tts_flash_generate",
15
15
  "openai/gpt-4o-mini-transcribe": "audio_asr_whisper",
16
- "openai/whisper-1": "audio_asr_whisper",
17
16
  "relay/music-1": "audio_music_1_generate",
18
17
  "relay/stt-1": "audio_asr_whisper",
19
18
  "relay/tts-1": "audio_tts_1_generate",
@@ -24,6 +23,9 @@ MODEL_OPERATIONS: dict[str, dict[str, str]] = {
24
23
  },
25
24
  "Image": {
26
25
  "ByteDance/doubao-seedream-5-0-pro-260628": "image_seedream_5_0_pro_generate",
26
+ "ClarityAI/creative": "image_clarity_upscale",
27
+ "ClarityAI/crystal": "image_clarity_upscale",
28
+ "ClarityAI/flux": "image_clarity_upscale",
27
29
  "Wan-AI/Wan2.7-Image-Pro": "image_wan_2_7_image_pro_generate",
28
30
  "black-forest-labs/FLUX-2-pro": "image_flux_generate",
29
31
  "google/gemini-2.5-flash-image": "image_gemini_3_generate",
@@ -48,6 +50,7 @@ MODEL_OPERATIONS: dict[str, dict[str, str]] = {
48
50
  "google/gemma-4-31B-turbo": "openai_chat_completions",
49
51
  "moonshotai/kimi-k2.6": "openai_chat_completions",
50
52
  "moonshotai/kimi-k3": "openai_chat_completions",
53
+ "moonshotai/kimi-k3.1-pro": "openai_chat_completions",
51
54
  "nvidia/nemotron-3-nano-30b-a3b": "openai_chat_completions",
52
55
  "openai/gpt-4o-mini": "openai_chat_completions",
53
56
  "openai/gpt-5.4": "openai_chat_completions",
@@ -55,6 +58,9 @@ MODEL_OPERATIONS: dict[str, dict[str, str]] = {
55
58
  "openai/gpt-5.5": "openai_chat_completions",
56
59
  "openai/gpt-5.5-pro": "openai_chat_completions",
57
60
  "openai/gpt-6-astra": "openai_chat_completions",
61
+ "openai/gpt-6-luna": "openai_chat_completions",
62
+ "openai/gpt-6-sol": "openai_chat_completions",
63
+ "openai/gpt-6.1-sol": "openai_chat_completions",
58
64
  "relay/conductor": "openai_chat_completions",
59
65
  "x-ai/grok-4.3": "openai_chat_completions",
60
66
  "zai-org/glm-5.1": "openai_chat_completions",
@@ -83,6 +89,7 @@ MODEL_OPERATIONS: dict[str, dict[str, str]] = {
83
89
  "KlingTeam/v3-Omni": "video_kling_3_omni",
84
90
  "KlingTeam/v3-T2V": "video_kling_3_t2v",
85
91
  "MiniMax/MiniMax-H3": "video_minimax_h3_generate",
92
+ "MiniMax/MiniMax-H3-V2V": "video_minimax_h3_v2v_generate",
86
93
  "Wan-AI/Wan2.5-I2V": "video_wan_25_i2v",
87
94
  "Wan-AI/Wan2.5-T2V": "video_wan_25_t2v",
88
95
  "Wan-AI/Wan2.6-T2V": "video_wan_26_t2v",
@@ -107,6 +114,8 @@ OPERATION_REQUEST_SCHEMAS: dict[str, str] = {
107
114
  "customer_model_allowlist_update": "UpdateModelAllowlistRequest",
108
115
  "customer_profile_update": "UpdateProfileRequest",
109
116
  "customer_settings_update": "CustomerSettingsUpdate",
117
+ "customer_subscription_plan_change": "PlanChangeRequest",
118
+ "image_clarity_upscale": "ClarityUpscaleRequest",
110
119
  "image_flux_1_generate": "Flux1Request",
111
120
  "image_flux_generate": "FluxRequest",
112
121
  "image_gemini_3_generate": "GeminiRequest",
@@ -121,6 +130,13 @@ OPERATION_REQUEST_SCHEMAS: dict[str, str] = {
121
130
  "instances_create": "InstanceRequest",
122
131
  "openai_chat_completions": "OpenAIChatRequest",
123
132
  "openai_embeddings": "EmbeddingRequest",
133
+ "openai_responses": "OpenAIResponsesRequest",
134
+ "smith_prefs_update": "PrefsPatch",
135
+ "smith_sessions_assets_save": "SaveBody",
136
+ "smith_sessions_create": "SessionCreate",
137
+ "smith_sessions_feedback": "FeedbackBody",
138
+ "smith_sessions_messages_create": "MessageCreate",
139
+ "smith_sessions_update": "SessionPatch",
124
140
  "video_bria_upscale_generate": "BriaVideoUpscaleRequest",
125
141
  "video_doubao_seedance_1_5_pro_generate": "DoubaoSeedance15ProRequest",
126
142
  "video_doubao_seedance_2_0_fast_filter_off_generate": "DoubaoSeedance20Up720pRequest",
@@ -151,6 +167,7 @@ OPERATION_REQUEST_SCHEMAS: dict[str, str] = {
151
167
  "video_lucy_2_5_generate": "Lucy25Request",
152
168
  "video_lucy_vton_3_generate": "LucyVton3Request",
153
169
  "video_minimax_h3_generate": "MiniMaxH3Request",
170
+ "video_minimax_h3_v2v_generate": "MiniMaxH3V2VRequest",
154
171
  "video_sora_2_i2v": "SoraI2VRequest",
155
172
  "video_sora_2_pro_i2v": "SoraProI2VRequest",
156
173
  "video_sora_2_pro_t2v": "SoraProT2VRequest",
@@ -167,6 +184,9 @@ OPERATION_REQUEST_SCHEMAS: dict[str, str] = {
167
184
  # Image models this release knows (any other name works too).
168
185
  KnownImageModel = Literal[
169
186
  "ByteDance/doubao-seedream-5-0-pro-260628",
187
+ "ClarityAI/creative",
188
+ "ClarityAI/crystal",
189
+ "ClarityAI/flux",
170
190
  "Wan-AI/Wan2.7-Image-Pro",
171
191
  "black-forest-labs/FLUX-2-pro",
172
192
  "google/gemini-2.5-flash-image",
@@ -203,6 +223,7 @@ KnownVideoModel = Literal[
203
223
  "KlingTeam/v3-Omni",
204
224
  "KlingTeam/v3-T2V",
205
225
  "MiniMax/MiniMax-H3",
226
+ "MiniMax/MiniMax-H3-V2V",
206
227
  "Wan-AI/Wan2.5-I2V",
207
228
  "Wan-AI/Wan2.5-T2V",
208
229
  "Wan-AI/Wan2.6-T2V",
@@ -223,6 +244,5 @@ KnownSpeechModel = Literal[
223
244
  # Speech-to-text models this release knows.
224
245
  KnownTranscribeModel = Literal[
225
246
  "openai/gpt-4o-mini-transcribe",
226
- "openai/whisper-1",
227
247
  "relay/stt-1",
228
248
  ]