|
1 | 1 | """ |
2 | | -AUTO-GENERATED from runware schemas v20260607152954 — do not edit manually. |
| 2 | +AUTO-GENERATED from runware schemas v20260608132636 — do not edit manually. |
3 | 3 |
|
4 | 4 | Re-run `uv run python scripts/generate_types.py` after bumping |
5 | 5 | `runware/_schemas_version.py` to refresh. |
|
10 | 10 | from dataclasses import dataclass |
11 | 11 | from typing import Literal, NotRequired, TypedDict |
12 | 12 |
|
13 | | -SCHEMAS_VERSION = "20260607152954" |
| 13 | +SCHEMAS_VERSION = "20260608132636" |
14 | 14 |
|
15 | 15 | TaskType = Literal["3dInference", "audioInference", "caption", "controlNetPreprocess", "imageInference", "imageMasking", "promptEnhance", "removeBackground", "textInference", "training", "upscale", "vectorize", "videoInference"] |
16 | 16 |
|
@@ -5503,6 +5503,59 @@ class MoonshotaiKimiK26Result(TypedDict, total=False): |
5503 | 5503 | finishReason: Literal['stop', 'length', 'content_filter', 'unknown'] |
5504 | 5504 | usage: dict[str, object] |
5505 | 5505 |
|
| 5506 | +class KreaFlux1KreaDevParams(TypedDict, total=False): |
| 5507 | + """Inference params for curated model `runware:107@1` (slug: krea-flux-1-krea-dev).""" |
| 5508 | + |
| 5509 | + model: Literal['runware:107@1'] |
| 5510 | + inputs: NotRequired[dict[str, object]] |
| 5511 | + positivePrompt: str |
| 5512 | + negativePrompt: NotRequired[str] |
| 5513 | + width: int |
| 5514 | + height: int |
| 5515 | + seed: NotRequired[int] |
| 5516 | + steps: NotRequired[int] |
| 5517 | + scheduler: NotRequired[Literal['DDIM', 'DDIMScheduler', 'DDPMScheduler', 'DEISMultistepScheduler', 'Default', 'DPM++', 'DPM++ 2M', 'DPM++ 2M Beta', 'DPM++ 2M Exponential', 'DPM++ 2M Karras', 'DPM++ 2M SDE', 'DPM++ 2M SDE Beta', 'DPM++ 2M SDE Exponential', 'DPM++ 2M SDE Karras', 'DPM++ 2M SDE Uniform', 'DPM++ 2M Uniform', 'DPM++ 3M', 'DPM++ 3M Beta', 'DPM++ 3M Exponential', 'DPM++ 3M Karras', 'DPM++ 3M SDE Uniform', 'DPM++ 3M Uniform', 'DPM++ Beta', 'DPM++ Exponential', 'DPM++ Karras', 'DPM++ SDE', 'DPM++ SDE Beta', 'DPM++ SDE Exponential', 'DPM++ SDE Karras', 'DPM++ Uniform', 'DPM++ Uniform Beta', 'DPM++ Uniform Exponential', 'DPM++ Uniform Karras', 'DPMSolverMultistepInverse', 'DPMSolverMultistepScheduler', 'DPMSolverSinglestepScheduler', 'EDMDPMSolverMultistepScheduler', 'EDMEulerScheduler', 'Euler', 'Euler a', 'Euler Beta', 'Euler DiscreteScheduler', 'Euler Exponential', 'Euler Karras', 'EulerAncestralDiscreteScheduler', 'FlowMatchEulerDiscreteScheduler', 'Heun', 'HeunDiscreteScheduler', 'Heun Karras', 'IPNDMScheduler', 'IPNDM Uniform', 'IPNDM Uniform Beta', 'IPNDM Uniform Exponential', 'IPNDM Uniform Karras', 'KDPM2AncestralDiscreteScheduler', 'KDPM2DiscreteScheduler', 'LCM', 'LCMScheduler', 'LMS', 'LMSDiscreteScheduler', 'LMS Karras', 'PNDMScheduler', 'TCDScheduler', 'UniPC', 'UniPC 2M', 'UniPC 2M Karras', 'UniPC 2M Uniform', 'UniPC 3M', 'UniPC 3M Karras', 'UniPC 3M Uniform', 'UniPC Karras', 'UniPC Uniform', 'UniPC Uniform Beta', 'UniPC Uniform Exponential', 'UniPC Uniform Karras']] |
| 5518 | + CFGScale: NotRequired[float] |
| 5519 | + strength: NotRequired[float] |
| 5520 | + maskMargin: NotRequired[int] |
| 5521 | + promptWeighting: NotRequired[Literal['compel', 'sdEmbeds']] |
| 5522 | + acceleratorOptions: NotRequired[dict[str, object]] |
| 5523 | + outpaint: NotRequired[dict[str, object]] |
| 5524 | + lora: NotRequired[list[dict[str, object]]] |
| 5525 | + controlNet: NotRequired[list[dict[str, object]]] |
| 5526 | + ipAdapters: NotRequired[list[dict[str, object]]] |
| 5527 | + acePlusPlus: NotRequired[dict[str, object]] |
| 5528 | + hiresFix: NotRequired[Literal[True] | dict[str, object]] |
| 5529 | + layerDiffuse: NotRequired[bool] |
| 5530 | + pulid: NotRequired[dict[str, object]] |
| 5531 | + trueCFGScale: NotRequired[float] |
| 5532 | + ultralytics: NotRequired[dict[str, object]] |
| 5533 | + taskType: Literal['imageInference'] |
| 5534 | + taskUUID: str |
| 5535 | + webhookURL: NotRequired[str] |
| 5536 | + includeCost: NotRequired[bool] |
| 5537 | + numberResults: NotRequired[int] |
| 5538 | + uploadEndpoint: NotRequired[str] |
| 5539 | + ttl: NotRequired[int] |
| 5540 | + outputType: NotRequired[Literal['URL', 'base64Data', 'dataURI']] |
| 5541 | + outputFormat: NotRequired[Literal['JPG', 'PNG', 'WEBP']] |
| 5542 | + outputQuality: NotRequired[int] |
| 5543 | + deliveryMethod: NotRequired[str] |
| 5544 | + safety: NotRequired[dict[str, object]] |
| 5545 | + |
| 5546 | +class KreaFlux1KreaDevResult(TypedDict, total=False): |
| 5547 | + """Inference result for curated model `runware:107@1` (slug: krea-flux-1-krea-dev).""" |
| 5548 | + |
| 5549 | + taskType: Literal['imageInference'] |
| 5550 | + taskUUID: str |
| 5551 | + cost: NotRequired[float] |
| 5552 | + imageUUID: str |
| 5553 | + imageURL: NotRequired[str] |
| 5554 | + imageBase64Data: NotRequired[str] |
| 5555 | + imageDataURI: NotRequired[str] |
| 5556 | + seed: NotRequired[int] |
| 5557 | + NSFWContent: NotRequired[bool] |
| 5558 | + |
5506 | 5559 | class Krea2TurboParams(TypedDict, total=False): |
5507 | 5560 | """Inference params for curated model `krea:krea@2-turbo` (slug: krea-2-turbo).""" |
5508 | 5561 |
|
@@ -8946,59 +8999,6 @@ class ImageMaskingResult(TypedDict, total=False): |
8946 | 8999 | detections: list[dict[str, object]] |
8947 | 9000 | inputImageUUID: str |
8948 | 9001 |
|
8949 | | -class FluxKreaParams(TypedDict, total=False): |
8950 | | - """Inference params for curated model `runware:107@1` (slug: flux-krea).""" |
8951 | | - |
8952 | | - model: Literal['runware:107@1'] |
8953 | | - inputs: NotRequired[dict[str, object]] |
8954 | | - positivePrompt: str |
8955 | | - negativePrompt: NotRequired[str] |
8956 | | - width: int |
8957 | | - height: int |
8958 | | - seed: NotRequired[int] |
8959 | | - steps: NotRequired[int] |
8960 | | - scheduler: NotRequired[Literal['DDIM', 'DDIMScheduler', 'DDPMScheduler', 'DEISMultistepScheduler', 'Default', 'DPM++', 'DPM++ 2M', 'DPM++ 2M Beta', 'DPM++ 2M Exponential', 'DPM++ 2M Karras', 'DPM++ 2M SDE', 'DPM++ 2M SDE Beta', 'DPM++ 2M SDE Exponential', 'DPM++ 2M SDE Karras', 'DPM++ 2M SDE Uniform', 'DPM++ 2M Uniform', 'DPM++ 3M', 'DPM++ 3M Beta', 'DPM++ 3M Exponential', 'DPM++ 3M Karras', 'DPM++ 3M SDE Uniform', 'DPM++ 3M Uniform', 'DPM++ Beta', 'DPM++ Exponential', 'DPM++ Karras', 'DPM++ SDE', 'DPM++ SDE Beta', 'DPM++ SDE Exponential', 'DPM++ SDE Karras', 'DPM++ Uniform', 'DPM++ Uniform Beta', 'DPM++ Uniform Exponential', 'DPM++ Uniform Karras', 'DPMSolverMultistepInverse', 'DPMSolverMultistepScheduler', 'DPMSolverSinglestepScheduler', 'EDMDPMSolverMultistepScheduler', 'EDMEulerScheduler', 'Euler', 'Euler a', 'Euler Beta', 'Euler DiscreteScheduler', 'Euler Exponential', 'Euler Karras', 'EulerAncestralDiscreteScheduler', 'FlowMatchEulerDiscreteScheduler', 'Heun', 'HeunDiscreteScheduler', 'Heun Karras', 'IPNDMScheduler', 'IPNDM Uniform', 'IPNDM Uniform Beta', 'IPNDM Uniform Exponential', 'IPNDM Uniform Karras', 'KDPM2AncestralDiscreteScheduler', 'KDPM2DiscreteScheduler', 'LCM', 'LCMScheduler', 'LMS', 'LMSDiscreteScheduler', 'LMS Karras', 'PNDMScheduler', 'TCDScheduler', 'UniPC', 'UniPC 2M', 'UniPC 2M Karras', 'UniPC 2M Uniform', 'UniPC 3M', 'UniPC 3M Karras', 'UniPC 3M Uniform', 'UniPC Karras', 'UniPC Uniform', 'UniPC Uniform Beta', 'UniPC Uniform Exponential', 'UniPC Uniform Karras']] |
8961 | | - CFGScale: NotRequired[float] |
8962 | | - strength: NotRequired[float] |
8963 | | - maskMargin: NotRequired[int] |
8964 | | - promptWeighting: NotRequired[Literal['compel', 'sdEmbeds']] |
8965 | | - acceleratorOptions: NotRequired[dict[str, object]] |
8966 | | - outpaint: NotRequired[dict[str, object]] |
8967 | | - lora: NotRequired[list[dict[str, object]]] |
8968 | | - controlNet: NotRequired[list[dict[str, object]]] |
8969 | | - ipAdapters: NotRequired[list[dict[str, object]]] |
8970 | | - acePlusPlus: NotRequired[dict[str, object]] |
8971 | | - hiresFix: NotRequired[Literal[True] | dict[str, object]] |
8972 | | - layerDiffuse: NotRequired[bool] |
8973 | | - pulid: NotRequired[dict[str, object]] |
8974 | | - trueCFGScale: NotRequired[float] |
8975 | | - ultralytics: NotRequired[dict[str, object]] |
8976 | | - taskType: Literal['imageInference'] |
8977 | | - taskUUID: str |
8978 | | - webhookURL: NotRequired[str] |
8979 | | - includeCost: NotRequired[bool] |
8980 | | - numberResults: NotRequired[int] |
8981 | | - uploadEndpoint: NotRequired[str] |
8982 | | - ttl: NotRequired[int] |
8983 | | - outputType: NotRequired[Literal['URL', 'base64Data', 'dataURI']] |
8984 | | - outputFormat: NotRequired[Literal['JPG', 'PNG', 'WEBP']] |
8985 | | - outputQuality: NotRequired[int] |
8986 | | - deliveryMethod: NotRequired[str] |
8987 | | - safety: NotRequired[dict[str, object]] |
8988 | | - |
8989 | | -class FluxKreaResult(TypedDict, total=False): |
8990 | | - """Inference result for curated model `runware:107@1` (slug: flux-krea).""" |
8991 | | - |
8992 | | - taskType: Literal['imageInference'] |
8993 | | - taskUUID: str |
8994 | | - cost: NotRequired[float] |
8995 | | - imageUUID: str |
8996 | | - imageURL: NotRequired[str] |
8997 | | - imageBase64Data: NotRequired[str] |
8998 | | - imageDataURI: NotRequired[str] |
8999 | | - seed: NotRequired[int] |
9000 | | - NSFWContent: NotRequired[bool] |
9001 | | - |
9002 | 9002 | class MediapipeNoseEyesMeshParams(TypedDict, total=False): |
9003 | 9003 | """Inference params for curated model `runware:35@11` (slug: mediapipe-nose-eyes-mesh).""" |
9004 | 9004 |
|
@@ -13657,7 +13657,7 @@ class ModelSearchResult(TypedDict, total=False): |
13657 | 13657 | "runware:100@1": ModelEntry(task_type="imageInference", id="bfl-flux-1-schnell"), |
13658 | 13658 | "runware:101@1": ModelEntry(task_type="imageInference", id="bfl-flux-1-dev"), |
13659 | 13659 | "runware:106@1": ModelEntry(task_type="imageInference", id="bfl-flux-1-kontext-dev"), |
13660 | | - "runware:107@1": ModelEntry(task_type="imageInference", id="flux-krea"), |
| 13660 | + "runware:107@1": ModelEntry(task_type="imageInference", id="krea-flux-1-krea-dev"), |
13661 | 13661 | "runware:108@1": ModelEntry(task_type="imageInference", id="alibaba-qwen-image"), |
13662 | 13662 | "runware:108@20": ModelEntry(task_type="imageInference", id="alibaba-qwen-image-edit"), |
13663 | 13663 | "runware:108@22": ModelEntry(task_type="imageInference", id="alibaba-qwen-image-edit-plus"), |
|
0 commit comments