Skip to content

Commit ac6e34b

Browse files
committed
chore: bump schemas to 20260608132636
1 parent b93ef9f commit ac6e34b

2 files changed

Lines changed: 57 additions & 57 deletions

File tree

runware/_schemas_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
``/resolve/<model>`` endpoint and doesn't consult this constant.
1010
"""
1111

12-
SCHEMAS_VERSION = "20260607152954"
12+
SCHEMAS_VERSION = "20260608132636"

runware/types/task_map.py

Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
AUTO-GENERATED from runware schemas v20260607152954 — do not edit manually.
2+
AUTO-GENERATED from runware schemas v20260608132636 — do not edit manually.
33

44
Re-run `uv run python scripts/generate_types.py` after bumping
55
`runware/_schemas_version.py` to refresh.
@@ -10,7 +10,7 @@
1010
from dataclasses import dataclass
1111
from typing import Literal, NotRequired, TypedDict
1212

13-
SCHEMAS_VERSION = "20260607152954"
13+
SCHEMAS_VERSION = "20260608132636"
1414

1515
TaskType = Literal["3dInference", "audioInference", "caption", "controlNetPreprocess", "imageInference", "imageMasking", "promptEnhance", "removeBackground", "textInference", "training", "upscale", "vectorize", "videoInference"]
1616

@@ -5503,6 +5503,59 @@ class MoonshotaiKimiK26Result(TypedDict, total=False):
55035503
finishReason: Literal['stop', 'length', 'content_filter', 'unknown']
55045504
usage: dict[str, object]
55055505

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+
55065559
class Krea2TurboParams(TypedDict, total=False):
55075560
"""Inference params for curated model `krea:krea@2-turbo` (slug: krea-2-turbo)."""
55085561

@@ -8946,59 +8999,6 @@ class ImageMaskingResult(TypedDict, total=False):
89468999
detections: list[dict[str, object]]
89479000
inputImageUUID: str
89489001

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-
90029002
class MediapipeNoseEyesMeshParams(TypedDict, total=False):
90039003
"""Inference params for curated model `runware:35@11` (slug: mediapipe-nose-eyes-mesh)."""
90049004

@@ -13657,7 +13657,7 @@ class ModelSearchResult(TypedDict, total=False):
1365713657
"runware:100@1": ModelEntry(task_type="imageInference", id="bfl-flux-1-schnell"),
1365813658
"runware:101@1": ModelEntry(task_type="imageInference", id="bfl-flux-1-dev"),
1365913659
"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"),
1366113661
"runware:108@1": ModelEntry(task_type="imageInference", id="alibaba-qwen-image"),
1366213662
"runware:108@20": ModelEntry(task_type="imageInference", id="alibaba-qwen-image-edit"),
1366313663
"runware:108@22": ModelEntry(task_type="imageInference", id="alibaba-qwen-image-edit-plus"),

0 commit comments

Comments
 (0)