From 20607259edb7a3a3a5b2d3059b7076d40c4bb8b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Sanz?= Date: Mon, 30 Nov 2026 13:14:34 +0100 Subject: [PATCH] docs: use architecture slugs in the model upload help --- docs/runware_model_upload.md | 4 ++-- internal/cmd/model/upload.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/runware_model_upload.md b/docs/runware_model_upload.md index 29181aa2..7cdbc562 100644 --- a/docs/runware_model_upload.md +++ b/docs/runware_model_upload.md @@ -26,7 +26,7 @@ runware model upload [flags] runware model upload --air ":42@1" \ --unique-identifier "my-custom-model-v1" \ --category checkpoint \ - --architecture flux1d \ + --architecture flux-1-dev \ --name "My Custom Model"\ --version 1.0 \ --download-url https://example.com/model.safetensors\ @@ -50,7 +50,7 @@ runware model upload [flags] ``` --air string Custom AIR identifier (:@; see 'runware account details' for your air-source) - -a, --architecture string Model architecture (e.g. flux1d, sdxl, sd1x) + -a, --architecture string Model architecture (e.g. flux-1-dev, sdxl, sd-1-5) -c, --category string Model category: checkpoint, lora, lycoris, vae, embeddings --comment string Internal notes --default-cfg float Default CFG scale used when running the model diff --git a/internal/cmd/model/upload.go b/internal/cmd/model/upload.go index f4ddb9b4..c99fec35 100644 --- a/internal/cmd/model/upload.go +++ b/internal/cmd/model/upload.go @@ -75,7 +75,7 @@ NOTE: "model upload" is only supported by the WebSocket (ws) transport. If you h runware model upload --air ":42@1" \ --unique-identifier "my-custom-model-v1" \ --category checkpoint \ - --architecture flux1d \ + --architecture flux-1-dev \ --name "My Custom Model"\ --version 1.0 \ --download-url https://example.com/model.safetensors\ @@ -161,7 +161,7 @@ NOTE: "model upload" is only supported by the WebSocket (ws) transport. If you h f.StringVar(&flags.name, "name", "", "Display name of the model") f.StringVar(&flags.version, "version", "", "Version identifier (e.g. 1.0)") f.StringVar(&flags.downloadURL, "download-url", "", "Publicly reachable URL hosting the model file") - f.StringVarP(&flags.architecture, "architecture", "a", "", "Model architecture (e.g. flux1d, sdxl, sd1x)") + f.StringVarP(&flags.architecture, "architecture", "a", "", "Model architecture (e.g. flux-1-dev, sdxl, sd-1-5)") f.StringVar(&flags.format, "format", "safetensors", "Model file format") f.StringVarP(&flags.modelType, "type", "t", "", "Model type (checkpoint: base, inpainting; lora/embeddings: positive, negative)") f.StringVar(&flags.air, "air", "", "Custom AIR identifier (:@; see 'runware account details' for your air-source)")