Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

merge: feat/310-character-hub (987fceaf2) into integ/310

purple6494829da21c
diff --cc src/components/create/experimental/Composer.tsx
index b2623f80,436ba9bc..d61ea006
--- a/src/components/create/experimental/Composer.tsx
+++ b/src/components/create/experimental/Composer.tsx
@@@ -14,8 -14,16 +14,16 @@@ import { intentToJob, quotaCostKind } f
import { meterState } from '../../../lib/render/credits-meter'
import { runImageCount } from '../../../lib/render/image-count'
import { useCloudCatalogStore, cloudModelById, defaultCloudModel, editNeedsMask, modelForOp, runCredits, lengthCredits, lengthPrice } from '../../../stores/cloudCatalogStore'
-import { createRunModel, intentRequiredInputs, isStudioModel } from '../../../lib/render/create-studio'
+import { createRunModel, intentRequiredInputs, isStudioModel, studioIntentOf } from '../../../lib/render/create-studio'
import { STUDIO_MODELS } from '../../../lib/render/studio-contract'
+ import { swapBilledPhotos, swapPricedSeconds, swapShortCredits } from '../../../lib/render/swap'
+ import { swapReady } from '../../../lib/create/swap-run'
+ import { modelLabel } from '../../../lib/render/preset-models'
+ import { SwapLength, SwapPrice, useSwapBar } from './hub/SwapBarParts'
+ import { useLocalPick } from './localPick'
+ import { swapConfirmedFrame } from '../../../lib/create/swap-frame'
+ import { soundApplies, soundInputError } from '../../../lib/render/sound'
+ import { useCharacterHubReleased } from '../../../lib/create/character-hub-release'
import { effectiveVideoDurations, snapToVideoDuration } from '../../../lib/render/video-duration'
import { mediaSeconds, useStudioPrice } from './useStudioPrice'
import { getJob } from '../../../api/cloud/jobs'
@@@ -139,10 -178,9 +181,11 @@@ export function Composer({ onOpenAdvanc
// 2.5.8 categories with their own composer surfaces + input contracts.
const special =
intent === 'character' || intent === 'lipsync' || intent === 'music' ||
- intent === 'extend' || intent === 'motion'
+ intent === 'extend' || intent === 'motion' || intent === 'swap_character'
+ const swap = intent === 'swap_character'
const characterUse = intent === 'character' && characterTab === 'use'
+ const threeDWay = useCreateStore((s) => s.threeDWay)
+ const needsSource = intentNeedsSource(intent, threeDWay)
let { kind: intentKind, op: intentOp } = intentToJob(intent)
if (characterUse) {
// The use-surface is a plain image generate with the character attached.
@@@ -260,7 -302,16 +307,16 @@@
// Dieselbe Zahl wie im Zaehler: nach einem 409 steht im Speicher der Preis
// des Servers, und die Deckungspruefung muss ihn benutzen.
const cloudStudioCredits = useCreateStore((s) => s.cloudStudioCredits)
+ // New voice with lips (14.11.2026): the second step belongs to the price of
+ // this start; button and cover check count it (lib/render/sound.ts).
+ const sound = useCreateStore((s) => s.sound)
+ const hubReleased = useCharacterHubReleased()
+ const soundOn = soundApplies(intent, backend, hubReleased) ? sound : undefined
+ const lipsyncOn = soundOn === 'lipsync'
+ const lipsyncExtra = useCreateStore((s) => (lipsyncOn ? s.lipsyncCredits ?? 0 : 0))
+ const lipsyncModel = useCreateStore((s) => s.lipsyncModel)
+ const soundProblem = soundInputError(soundOn, swap ? swapFigures.length : 1, backend, !!audioInput || !!voiceFromJob, lipsyncModel)
- const costFallback = quota?.costs[runKind === 'audio' ? 'image' : runKind] ?? 0
+ const costFallback = quota?.costs[quotaCostKind(runKind)] ?? 0
// The exact rule the meter chip renders, so the button can never invite a run
// the chip is already refusing. Credits alone were not enough: a user out of
// monthly character trainings kept an enabled Create button and got a 429.
@@@ -274,10 -325,10 +330,10 @@@
meterState(
quota,
imageCount * (studioPick
- ? (studioPrice?.credits ?? costFallback)
+ ? (studioPrice?.credits ?? costFallback) + pictureStepCredits(intent, threeDWay, studioPick, prompt)
: lengthRate
? (cloudStudioCredits ?? lengthShown ?? costFallback)
- : runCredits(intentKind, intentOp, runModel, runSeconds, costFallback, targetResolution)),
+ : runCredits(intentKind, intentOp, runModel, runSeconds, costFallback, targetResolution)) + lipsyncExtra,
runKind,
intentOp,
).kind === 'ok')
@@@ -366,9 -424,10 +429,10 @@@
const canGenerate =
!macSetupFirst &&
(!needPrompt || optionalPrompt || prompt.trim().length > 0) &&
- (!meta.needsSource || hasStart) &&
+ (!needsSource || hasStart) &&
(!needsMask || !!mask) &&
specialReady &&
+ !soundProblem &&
upscaleReady &&
creditsOk &&
!installing
@@@ -378,7 -437,33 +442,33 @@@
const inputNote = showNoPromptHint && !needsMask && isInputHint(intent)
const laneCaption = noPromptHint(meta.id, backend, backend === 'local' && isMlxImageHost(), trainKind)
// The disabled button says which input it waits for (laneHint.ts).
- const missingSource = missingSourceHint({ intent, needsSource: meta.needsSource, hasSource: hasStart })
+ const missingSource = missingSourceHint({ intent, needsSource, hasSource: hasStart })
+ // The price of a cloud run in the bar of the Character area (Swap has its
+ // own parts, SwapPrice). Local runs cost nothing and show none.
+ const hubCredits = hub && backend === 'cloud'
+ ? ((studioPick ? studioPrice?.credits : (cloudStudioCredits ?? lengthShown)) ?? null) !== null
+ ? (studioPick ? studioPrice!.credits : (cloudStudioCredits ?? lengthShown)!) * imageCount + lipsyncExtra
+ : null
+ : null
+ // The phone's short summary of the bar: model, and the length on Swap.
+ const localPickName = useLocalPickName()
+ const hubModelName = backend === 'cloud' ? modelLabel(runModel) : (localPickName ?? 'Local')
+ const swapBar = useSwapBar(inputSeconds)
+ // Swap without the account switch has nothing to pick or pay; with it, the
+ // length and its price stand once there is a video to measure.
+ const swapSoon = swap && !hubReleased
+ const swapBarShown = swap && backend === 'cloud' && !swapSoon && !!videoInput
+ const hubSummary = swapBarShown ? `${hubModelName} · ${swapBar.value} s` : swapSoon ? 'Swap' : hubModelName
+ // Swap Character names its price on the button (the web's CreateButton):
+ // a paid video run, priced by its length. With a new voice the lip sync
+ // step is in the figure too. On the phone every cloud run of the area
+ // names it (m310's Create pill).
+ const createPrice = swap && backend === 'cloud' && priceSeconds !== undefined && studioPrice
+ ? swapShortCredits(studioPrice.credits + lipsyncExtra)
+ : lipsyncOn && lipsyncExtra > 0 && (studioPrice?.credits ?? cloudStudioCredits ?? lengthShown) != null
+ ? swapShortCredits((studioPrice?.credits ?? cloudStudioCredits ?? lengthShown ?? 0) + lipsyncExtra)
+ : hub && narrow && hubCredits != null ? swapShortCredits(hubCredits) : null
+
return (
// A stable min-height (bottom-anchored) so the prompt window occupies the
@@@ -394,11 -479,16 +484,17 @@@
Zahl hier doppelt steht statt den Token zu lesen, ist ein eigener
Befund und hier nicht behoben. */}
<div className="mx-auto w-full max-w-[660px] space-y-2.5">
- {special && <SpecialControls intent={intent} />}
+ {special && !hub && <SpecialControls intent={intent} />}
+ {intent === '3d' && <ThreeDControls {...threeDControlFacts(backend, studioPick)} studioId={studioPick} pictureFirst={backend === 'local' || isPictureFirstRun(threeDWay, studioPick)} />}
- {!isUtility && <LaneControls />}
- <CharacterNote />
- {inputNote && (
+ {/* Swap Character's options are its own panel above (SpecialControls). */}
+ {!isUtility && !swap && !hub && <LaneControls />}
+ {!hub && <CharacterNote />}
+ {hub && showNoPromptHint && intent === 'character' && characterTab === 'train' && (
+ // The training's one line on what to add (photos or pictures of the
+ // style), as it stood over the prompt window.
+ <p className="hub-dim hub-fs-125 text-center" data-testid="lane-input-note">{laneCaption}</p>
+ )}
+ {inputNote && !hub && (
<p className="t-body text-gray-500 text-center px-3.5" data-testid="lane-input-note">{laneCaption}</p>
)}
diff --cc src/components/create/experimental/CreateExperimental.tsx
index 84f04ffd,f7890327..f7c637a4
--- a/src/components/create/experimental/CreateExperimental.tsx
+++ b/src/components/create/experimental/CreateExperimental.tsx
@@@ -93,7 -95,9 +95,10 @@@ function CreateExperimentalInner()
// Composer.tsx, kept in sync by hand (both read the same store getters and
// pure functions, no new state).
const intent = useCreateStore((s) => s.intent())
+ const threeDWay = useCreateStore((s) => s.threeDWay)
+ // The Character area (3.1.0 part B) takes the place of the stage and the
+ // prompt window for its four intents; gallery and presets stay beside it.
+ const hubOpen = isHubIntent(intent)
const cloudOpModel = useCreateStore((s) => s.cloudOpModel)
const cloudImageModel = useCreateStore((s) => s.cloudImageModel)
const cloudVideoModel = useCreateStore((s) => s.cloudVideoModel)
diff --cc src/components/create/experimental/ModelChip.tsx
index f6be4431,6e725f3e..14a4e23a
--- a/src/components/create/experimental/ModelChip.tsx
+++ b/src/components/create/experimental/ModelChip.tsx
@@@ -204,16 -156,19 +206,22 @@@ function CloudModelChip()
: intent === 'edit' ? 'edit'
: intent === 'animate' ? 'animate'
: 'generate'
+ // Swap Character: the order is the recommendation (SCAIL 2 first), and a
+ // model for fewer people than are marked stands greyed out with the reason.
+ const swap = intent === 'swap_character'
+ const swapTooMany = (id: string) => swap && swapPeople > swapMaxPeople(id)
+ const swapLimitText = (id: string) => (swapMaxPeople(id) === 1 ? 'one person only' : `up to ${swapMaxPeople(id)} people`)
const options: SelectOption[] = roleIntent
- ? groupForPicker(roleModels).map(({ model: m, group }) => ({
+ ? (swap ? roleModels.map((model) => ({ model, group: undefined as string | undefined })) : groupForPicker(roleModels)).map(({ model: m, group }) => ({
value: m.id,
label: m.label,
- sublabel: swapTooMany(m.id) ? swapLimitText(m.id) : pickerCostHint(m, musicDuration),
+ // "Picture first" costs the picture and the model together.
+ sublabel: pickIntent === '3d-text' && isPictureFirstRun('text', m.id)
+ ? `${shortCount(createStudioCost(m.id, {}, 100) + pictureFirstPictureCredits(''))} cr`
- : pickerCostHint(m, musicDuration),
++ : swapTooMany(m.id) ? swapLimitText(m.id) : pickerCostHint(m, musicDuration),
+ disabled: swapTooMany(m.id),
group,
- tags: tierMarks(m),
+ tags: swap && m.id === SWAP_MAIN_MODEL ? [{ label: 'Recommended', tone: 'accent' as const }, ...tierMarks(m)] : tierMarks(m),
badge: m.adult
? noRefusalsBadge(contentPolicy === 'off')
: CLOUD_BADGE,
diff --cc src/components/create/experimental/Stage.tsx
index 33a55863,7d1cfc00..87395b71
--- a/src/components/create/experimental/Stage.tsx
+++ b/src/components/create/experimental/Stage.tsx
@@@ -6,9 -6,8 +6,10 @@@ import { useModelStore } from '../../..
import { createRunModel } from '../../../lib/render/create-studio'
import { musicText } from '../../../lib/render/music-ui'
import { useCreateExp } from './CreateContext'
+import { INTENT_MAP, intentNeedsSource } from './intents'
+import { ThreeDSetupCard, ThreeDVideoHint, useThreeDLocal } from './ThreeDStage'
+import { THREE_D_TEXT } from '../../../lib/three/three-d-text'
+ import { SwapStage } from './SwapStage'
-import { INTENT_MAP } from './intents'
import { editNeedsMask, defaultCloudModel, modelForOp } from '../../../stores/cloudCatalogStore'
import { stageShowsSetupCard, laneModelCount } from './stageGate'
import { needsMaskFor } from './maskGate'
@@@ -73,11 -77,9 +79,11 @@@ interface Props
comfyStarting?: boolean
}
- export function Stage({ displayed, onOpenMaskEditor, onEditResult, onAnimateResult, onFullscreen, onShowPrompt, onSaveCharacter, comfyStarting }: Props) {
+ export function Stage({ hub = false, displayed, onOpenMaskEditor, onEditResult, onAnimateResult, onFullscreen, onShowPrompt, onSaveCharacter, comfyStarting }: Props) {
const intent = useCreateStore((s) => s.intent())
const meta = INTENT_MAP[intent]
+ const threeDWay = useCreateStore((s) => s.threeDWay)
+ const needsSource = intentNeedsSource(intent, threeDWay)
// The width of the stage, for the how-to line at its foot (footLine below).
const stageRef = useRef<HTMLDivElement>(null)
const [stageWidth, setStageWidth] = useState<number | null>(null)
@@@ -217,9 -217,12 +227,12 @@@
onSaveCharacter={displayed.type === 'video' && onSaveCharacter ? () => onSaveCharacter(displayed) : undefined}
// The source and its references stay on screen beside the result
// (FitStage), so the next run shows what it starts from.
- side={meta.needsSource && source ? <ResultInputs /> : imageRefSide ? <ImageReferenceStrip /> : undefined}
+ side={needsSource && source ? <ResultInputs /> : imageRefSide ? <ImageReferenceStrip /> : undefined}
/>
)
+ } else if (hub) {
+ // An empty stage has nothing to say in the Character area.
+ body = null
} else {
// D-A9/D-W3-7, die zwoelfte Einbindung: hier stand die 512x512-Bitmap des
// Monogramms unter ihrem zweiten Dateinamen (die `-white`-Fassung ist
diff --cc src/components/create/experimental/intents.ts
index 0079a8b0,3120f9f7..877eb541
--- a/src/components/create/experimental/intents.ts
+++ b/src/components/create/experimental/intents.ts
@@@ -1,11 -1,11 +1,12 @@@
import {
Image as ImageIcon, Wand2, Scissors, Video, Film, Maximize2, Eraser,
- UserRound, Mic, Music, FastForward, PersonStanding, Box,
- UserRound, Mic, Music, FastForward, PersonStanding, Replace,
++ UserRound, Mic, Music, FastForward, PersonStanding, Box, Replace,
} from 'lucide-react'
import type { LucideIcon } from 'lucide-react'
-import type { CreateBackend, CreateIntent } from '../../../stores/createStore'
+import type { CreateBackend, CreateIntent, ThreeDWay } from '../../../stores/createStore'
+import { THREE_D_TEXT } from '../../../lib/three/three-d-text'
import { MUSIC_PLACEHOLDER } from '../../../lib/render/music-ui'
+ import { isHubIntent } from '../../../lib/create/character-hub'
export interface IntentMeta {
id: CreateIntent
@@@ -179,20 -179,19 +180,33 @@@ export const INTENTS: IntentMeta[] =
cloudOnly: true, hasLocalLane: true, requiresModels: 'motion',
examples: [],
},
+ {
+ // Swap Character (07.11.2026, port of the web's C52): a real video keeps
+ // its motion, camera, sound and scene, and its people become the people
+ // of the customer's photos. Studio models only (lib/render/swap.ts), no
+ // local lane: in local mode it is a locked cloud pill like Erase. The
+ // pill says "Swap" (the web's desktop word), the full name stands in
+ // title and aria-label; the bar has no room for two more words.
+ id: 'swap_character', label: 'Swap Character', short: 'Swap', icon: Replace,
+ placeholder: '',
+ needsSource: false, needsPrompt: false, allowsMask: false, isVideo: true,
+ cloudOnly: true,
+ examples: [],
+ },
+ {
+ // 3.1.0 (C3D-PLAN): a 3D model from words, a picture or a video. The
+ // thirteenth pill, at the far right, so no tool moves. Which inputs it
+ // takes depends on the way (intentNeedsSource / intentTakesPrompt), so
+ // the two flags here stay false. Local: TripoSR on a Mac (its own
+ // engine, commands/mesh3d.rs), TRELLIS.2 in ComfyUI on Windows and Linux.
+ // The Stage gates the local tab on its own setup card, not on
+ // requiresModels.
+ id: '3d', label: '3D Model', short: '3D', icon: Box,
+ placeholder: THREE_D_TEXT.prompt,
+ needsSource: false, needsPrompt: false, allowsMask: false, isVideo: false,
+ cloudOnly: true, hasLocalLane: true,
+ examples: THREE_D_TEXT.examples,
+ },
]
export const INTENT_MAP: Record<CreateIntent, IntentMeta> =
diff --cc src/components/create/experimental/laneHint.ts
index 838f0851,7438f080..151446bd
--- a/src/components/create/experimental/laneHint.ts
+++ b/src/components/create/experimental/laneHint.ts
@@@ -58,8 -58,8 +58,10 @@@ export function noPromptHint(id: Create
return backend === 'local'
? 'Add a character image and a driving dance/pose video above, then hit Create. The prompt is optional.'
: 'No prompt needed. Add a character image and a driving dance/pose video above, then hit Create.'
+ case '3d':
+ return 'No prompt needed. Add a picture or a short video of one object, then hit Create.'
+ case 'swap_character':
+ return 'No prompt needed. Add the video and a photo of each new person above, then hit Create.'
default:
return 'No prompt needed. Just hit Create to remove the background.'
}
diff --cc src/hooks/useCloudCreate.ts
index 3b0c7bf1,5d70fb8b..8695ca65
--- a/src/hooks/useCloudCreate.ts
+++ b/src/hooks/useCloudCreate.ts
@@@ -277,148 -274,62 +285,204 @@@ export function takeCloudRunStop(): Clo
return stop
}
+/**
+ * "Picture first" (lib/three/picture-first.ts) with the real cloud calls and
+ * the store. Errors that are not about this chain (429, 401, a dropped line)
+ * go to the caller's catch, like every other run.
+ */
+async function runPictureFirst(args: {
+ prompt: string
+ meshModel: string
+ meshOptions: Record<string, unknown>
+ requestId: string
+ ac: AbortController
+ onQuotaChange?: () => void
+}): Promise<void> {
+ const { prompt, meshModel, meshOptions, ac, onQuotaChange } = args
+ const s = useCreateStore.getState()
+ const pictureModel = pictureFirstPictureModel()
+ if (!pictureModel) {
+ s.setError('Picture first is not available right now. Pick another model.')
+ return
+ }
+ const pictureShown = pictureFirstPictureCredits(prompt, pictureModel)
+ const timeoutMs = runDeadlineMs('3d', 'studio')
+ const startedAt = Date.now()
+ let stepStarted = startedAt
+ // What each job adds to the bare job in the gallery (also the entry a
+ // phone lands after a restart, lib/pending-cloud-jobs.ts).
+ const pictureFields = (picturePrompt: string) => ({
+ model: pictureModel, prompt: picturePrompt, negativePrompt: '', seed: 0,
+ steps: 0, cfgScale: 0, sampler: '', scheduler: '', width: 1024, height: 1024, intent: 'image' as const,
+ })
+ const meshFields = () => ({
+ model: meshModel, prompt: '', label: prompt.trim().slice(0, 120) || THREE_D_TEXT.gallery.text, negativePrompt: '', seed: 0,
+ steps: 0, cfgScale: 0, sampler: '', scheduler: '', width: 0, height: 0, intent: '3d' as const,
+ })
+ const outcome = await runCloudPictureFirst({
+ prompt, pictureModel, meshModel, meshOptions,
+ shown: { mesh: s.cloudStudioCredits, picture: pictureShown },
+ requestIds: [args.requestId, crypto.randomUUID()],
+ }, {
+ gate: (text) => clientSafety(text),
+ quote: async (model, text, options, images) => {
+ s.setProgress(4, 'Confirming the price…')
+ return (await studioQuote(model, text, { op: 'studio', studio_options: options }, images)).credits
+ },
+ submit: async (job) => {
+ s.setProgress(job.kind === 'image' ? 6 : 52, 'Submitting to the render queue…')
+ const step = job.kind === 'image' ? pictureFields(job.prompt) : meshFields()
+ // Only the mesh step carries its own gallery title; the picture step has its prompt.
+ const stepLabel = 'label' in step ? step.label : ''
+ const out = await submitNoted({ kind: job.kind, model: job.model, prompt: job.prompt, params: job.params }, {
+ op: 'studio', prompt: job.prompt || stepLabel || '', timeoutMs, landing: 'gallery', items: [step],
+ })
+ const now = Date.now()
+ notePendingCloudJob({
+ id: out.id, kind: job.kind, op: 'studio', model: job.model, prompt: job.prompt || stepLabel || '',
+ startedAt: now, deadlineAt: now + timeoutMs, landing: 'gallery', item: step,
+ })
+ if (job.params.client_request_id) settleCloudSubmitIntent(job.params.client_request_id, true)
+ return out
+ },
+ onBooked: (id, step) => {
+ activeJobId = id
+ activeJobIds = [id]
+ stepStarted = Date.now()
+ onQuotaChange?.()
+ if (step === 1 && prompt.trim()) useCreateStore.getState().addToPromptHistory(prompt.trim())
+ },
+ poll: (id, step) => pollTracked(id, {
+ timeoutMs,
+ signal: ac.signal,
+ onTick: (j) => {
+ const st = useCreateStore.getState()
+ const elapsed = Math.round((Date.now() - stepStarted) / 1000)
+ const verb = step === 1 ? THREE_D_TEXT.cloudPicture : THREE_D_TEXT.cloudPhase
+ if (j.status === 'queued') {
+ st.setProgressPhase('queued')
+ st.setProgress(step === 1 ? 10 : 55, `Waiting for a cloud GPU… ${elapsed}s`)
+ } else if (j.status === 'running') {
+ st.setProgressPhase('sampling')
+ st.setProgress(step === 1 ? Math.min(45, 12 + elapsed) : Math.min(95, 58 + elapsed), `${verb} ${elapsed}s`)
+ }
+ },
+ }),
+ adopt: (jobId) => adoptInput(jobId, 'image'),
+ onPicture: async (job, picturePrompt) => {
+ // The first job is over: Cancel from here on only stops the chain.
+ activeJobId = null
+ activeJobIds = []
+ const st = useCreateStore.getState()
+ // The picture is a result of its own. Landing it must not change the
+ // model the Image tab has picked.
+ const imagePick = st.cloudImageModel
+ st.addToGallery({ ...galleryItemFromJob(job), ...pictureFields(picturePrompt) })
+ if (useCreateStore.getState().cloudImageModel !== imagePick) useCreateStore.getState().setCloudImageModel(imagePick)
+ st.setProgress(50, THREE_D_TEXT.afterPicture)
+ // Onto the Stage under "From image", like the local way: the user sees
+ // it while the model is built, and "Make it 3D" runs it again.
+ try {
+ const res = await fetch(job.result_url!)
+ if (!res.ok) throw new Error('picture')
+ const blob = await res.blob()
+ const ref = await loadImageRef(new File([blob], 'picture.png', { type: blob.type || 'image/png' }))
+ const now = useCreateStore.getState()
+ now.setThreeDWay('image')
+ now.setSource(ref)
+ } catch {
+ // The Stage is a view. The picture is in the gallery, the chain goes on.
+ }
+ },
+ stopped: () => stopAsked || ac.signal.aborted,
+ })
+ const st = useCreateStore.getState()
+ switch (outcome.kind) {
+ case 'blocked':
+ st.setError(blockMessageFor(outcome.reason))
+ return
+ case 'price':
+ // Same rule as a single studio run: show the new sum, book nothing.
+ st.setCloudStudioCredits(outcome.mesh)
+ st.setError(`The price changed to ${outcome.total.toLocaleString('en-US')} credits. Review it, then hit Create again.`)
+ lastRunStop = { reason: 'price' }
+ return
+ case 'stopped':
+ st.setError(null)
+ onQuotaChange?.()
+ return
+ case 'picture-failed':
+ st.setError(outcome.job.error ?? 'Cloud render failed.')
+ onQuotaChange?.()
+ return
+ case 'mesh-failed':
+ st.setError([THREE_D_TEXT.meshFailed, outcome.job.error, THREE_D_TEXT.meshRetry].filter(Boolean).join(' '))
+ onQuotaChange?.()
+ return
+ case 'done':
+ st.setProgressPhase('complete')
+ st.setProgress(100, 'Complete!')
+ st.addToGallery({ ...galleryItemFromJob(outcome.mesh), ...meshFields() })
+ return
+ }
+}
+
+ /** Step 2 of a Swap or Motion run with a new voice (14.11.2026, the web's
+ * useCloudCreate): LatentSync or Lipsync-2 on the own video result. The
+ * price is the catalogue's rule on the measured voice and clip; a failure
+ * keeps the video and says so (lipsyncFailedText). */
+ async function runLipsyncAfter(job: CloudJob, run: {
+ intent: string; model: string; swap: boolean; label: string | undefined
+ resultFields: Partial<GalleryItem> & { prompt: string }
+ audioInput: { url: string; blob: Blob } | null; voiceFromJob: { jobId: string } | null
+ videoUrl: string | undefined; swapSeconds: number | null; lipModel: string; shown: number | null
+ signal: AbortSignal; timeoutMs: number
+ }): Promise<void> {
+ const st = useCreateStore.getState()
+ st.setProgressPhase('sampling')
+ st.setProgress(92, 'Step 2 of 2: lip sync…')
+ try {
+ const voiceUrl = run.audioInput?.url ?? (run.voiceFromJob ? (await getJob(run.voiceFromJob.jobId).catch(() => null))?.result_url ?? undefined : undefined)
+ const audioSeconds = voiceUrl ? await mediaSeconds(voiceUrl, 'audio').catch(() => undefined) : undefined
+ const videoSeconds = run.videoUrl ? await mediaSeconds(run.videoUrl, 'video').catch(() => undefined) : undefined
+ const clip = soundClipSeconds(run.intent, run.model, run.swapSeconds, videoSeconds)
+ // The ceiling: what the panel showed, or the same rule on what was
+ // measured now; never above the shown figure.
+ const measured = lipsyncCredits(run.lipModel, audioSeconds, clip)
+ const credits = run.shown != null && measured != null ? Math.min(run.shown, measured) : run.shown ?? measured
+ const lip = await runLipsyncStep({
+ videoJobId: job.id,
+ audio: run.audioInput ? { type: 'blob', blob: run.audioInput.blob } : { type: 'job', jobId: run.voiceFromJob!.jobId },
+ model: run.lipModel,
+ credits,
+ swap: run.swap,
+ }, {
+ submitCloudJob, pollJob, cancelJob, uploadInput, adoptInput,
+ signal: run.signal, timeoutMs: run.timeoutMs,
+ onSubmitted: (id) => { activeJobId = id; activeJobIds = [id] },
+ onTick: (j) => { if (j.status === 'running') useCreateStore.getState().setProgress(95, 'Step 2 of 2: lip sync…') },
+ })
+ const end = useCreateStore.getState()
+ if (lip.status === 'succeeded' && lip.result_url) {
+ end.setProgressPhase('complete')
+ end.setProgress(100, 'Complete!')
+ end.addToGallery({
+ ...galleryItemFromJob(lip),
+ ...run.resultFields,
+ model: lip.model || run.lipModel,
+ label: run.label ? `${run.label}, lip sync` : 'Lip sync',
+ })
+ } else if (lip.status !== 'canceled') {
+ end.setError(lipsyncFailedText(lip.error))
+ }
+ } catch (err) {
+ if (!(err instanceof Error && err.message === 'polling aborted')) {
+ const reason = err instanceof CloudJobError && err.status === 429 ? throttleMessage(err) : err instanceof Error ? err.message : String(err)
+ useCreateStore.getState().setError(lipsyncFailedText(reason))
+ }
+ }
+ }
+
export function useCloudCreate(opts: { onQuotaChange?: () => void } = {}) {
const { onQuotaChange } = opts
@@@ -571,17 -499,18 +658,28 @@@
s.setError('Motion control needs a character image and a driving video.')
return
}
+ // Sound (14.11.2026, lib/render/sound.ts): Swap and Motion on the cloud.
+ // A new voice with lips needs the voice and at most one person.
+ const sound = soundApplies(intent, 'cloud', characterHubReleasedHere()) ? s.sound : undefined
+ {
+ const people = swap ? s.swapFigures.length : 1
+ const invalid = soundInputError(sound, people, 'cloud', !!s.audioInput || !!s.voiceFromJob, s.lipsyncModel)
+ if (invalid) {
+ s.setError(invalid)
+ return
+ }
+ }
- if (!specialOp && op !== 'generate' && !s.source) {
+ // 3D from text builds from words alone, under op 'studio'.
+ const threeDFromText = intent === '3d' && s.threeDWay === 'text'
+ if (intent === '3d' && !threeDFromText && !s.source) {
+ s.setError(s.threeDWay === 'video' ? THREE_D_TEXT.needVideo : THREE_D_TEXT.needSource)
+ return
+ }
+ if (threeDFromText && !prompt.trim()) {
+ s.setError('Describe the object first.')
+ return
+ }
+ if (!specialOp && op !== 'generate' && !s.source && !threeDFromText) {
s.setError('Add a source image first.')
return
}
@@@ -706,10 -629,8 +804,11 @@@
// Also exactly what a Studio role's `image` input needs (source_path),
// the SAME staged upload, studio-contract.ts just names it a schema
// field instead of a fixed param.
- // Swap reads its own people (below), never the Stage's source.
- if (op !== 'generate' && s.source && !swap) {
+ if (provenance) params.source_prompt = provenance
+ // "From text" sends no picture: a source left on the Stage from another
- // way belongs to that way.
- if (op !== 'generate' && s.source && !(intent === '3d' && s.threeDWay === 'text')) {
++ // way belongs to that way. Swap reads its own people (below), never the
++ // Stage's source.
++ if (op !== 'generate' && s.source && !swap && !(intent === '3d' && s.threeDWay === 'text')) {
params.source_path = await uploadInput(dataUrlToBlob(s.source.url), 'source', ...uploadEnds(ac))
// Ein Studio-Modell, das eine Bilderliste liest (Edit mit mehreren
// Vorlagen, Referenz zu Video), bekommt das Standbild der Oberflaeche als
@@@ -930,9 -888,7 +1068,10 @@@
// list view (GET /api/jobs), not the only source of the gallery name.
let label: string | undefined
if (studioModel) {
- label = prompt.trim() ? undefined
- label = swap ? SWAP_GALLERY_LABEL : prompt.trim() ? undefined : modelLabel(studioModel)
++ label = swap ? SWAP_GALLERY_LABEL
++ : prompt.trim() ? undefined
+ : intent === '3d' ? THREE_D_TEXT.gallery[s.threeDWay]
+ : modelLabel(studioModel)
if (label) params.label = label
} else if (OP_GALLERY_LABEL[op]) {
label = OP_GALLERY_LABEL[op]
@@@ -1099,33 -1055,21 +1238,43 @@@
if (job.status === 'succeeded' && op === 'lora-train') {
// Training output is a LoRA on the user's shelf, not a media item —
// flip Character-Studio to the use-surface with a fresh shelf.
+ //
+ // Fall E7 (07.11.2026): the server says "succeeded" about a second
+ // before the character is on the shelf. Reading the shelf at once
+ // showed "No characters yet" after a paid training, the photos were
+ // gone and nothing said why. So the shelf is asked until the new
+ // character is there, and only then does the surface flip.
st.setProgressPhase('complete')
- st.setProgress(100, 'Character trained!')
- st.clearTrainImages()
- st.setCharacterTab('use')
- st.bumpCharactersVersion()
+ st.setProgress(100, 'Character trained! Putting it on your shelf…')
+ const shelf = await waitForTrainedLora(job, { signal: ac.signal })
+ const now = useCreateStore.getState()
+ now.setProgress(100, 'Character trained!')
+ now.clearTrainImages()
+ now.setCharacterTab('use')
+ now.bumpCharactersVersion()
+ if (!shelf && !ac.signal.aborted) {
+ // Still not there: keep asking in the background and refresh the
+ // shelf when it comes. The desktop says so meanwhile; the phone's
+ // character page reads an error as a failed training, so it only
+ // gets the late refresh.
+ if (!isMobile()) now.setError(TRAINED_NOT_YET_LISTED)
+ void waitForTrainedLora(job, { waitsMs: TRAINED_LORA_LATE_WAITS_MS }).then((late) => {
+ if (!late) return
+ const later = useCreateStore.getState()
+ if (later.error === TRAINED_NOT_YET_LISTED) later.setError(null)
+ later.bumpCharactersVersion()
+ })
+ }
+ } else if (job.status === 'succeeded' && job.result_url && sound === 'lipsync' && (s.audioInput || s.voiceFromJob)) {
+ // Step 2 of 2: the new voice with lips. The video is in the gallery
+ // already and stays there if this step fails.
+ addResult(job)
+ await runLipsyncAfter(job, {
+ intent, model: studioModel ?? model, swap, label, resultFields: resultFields(0),
+ audioInput: s.audioInput, voiceFromJob: s.voiceFromJob, videoUrl: s.videoInput?.url,
+ swapSeconds: s.swapSeconds, lipModel: s.lipsyncModel, shown: s.lipsyncCredits, signal: ac.signal, timeoutMs,
+ })
+ onQuotaChange?.()
} else if (job.status === 'succeeded' && job.result_url) {
st.setProgressPhase('complete')
st.setProgress(100, 'Complete!')
diff --cc src/lib/__tests__/howto-lines-follow-the-film.test.ts
index dbe9878a,d9ff1a5f..db284941
--- a/src/lib/__tests__/howto-lines-follow-the-film.test.ts
+++ b/src/lib/__tests__/howto-lines-follow-the-film.test.ts
@@@ -1,45 -1,26 +1,51 @@@
import { describe, expect, it } from 'vitest'
import { readFileSync } from 'node:fs'
import { resolve } from 'node:path'
-import { HOWTO, HOWTO_GUIDE_BASE, HOWTO_VIDEO_BASE, howtoGuideUrl, howtoLineAt, howtoVideoUrl, stageHowtoTopic } from '../howto'
+import { HOWTO, HOWTO_NOT_UPLOADED, HOWTO_GUIDE_BASE, HOWTO_VIDEO_BASE, howtoGuideUrl, howtoLineAt, howtoVideoUrl, stageHowtoTopic } from '../howto'
import { INTENTS } from '../../components/create/experimental/intents'
+ // Swap Character (07.11.2026) has no film yet: it is recorded once the tab is
+ // live on the cloud. Until then the tab names none (stageHowtoTopic below
+ // finds no topic, and its Stage shows no how-to line), instead of a link to
+ // a film that is not there.
+ const NO_FILM_YET = new Set(['swap_character'])
+ const FILMED = INTENTS.filter((i) => !NO_FILM_YET.has(i.id))
+
describe('how it works', () => {
- // A tab whose film is not on the server yet gets none on the stage
- // (stageHowtoTopic answers null), instead of a link to a film that is not
- // there. Empty since the 3D films went up with 3.1.0.
- const NO_FILM_YET = new Set<string>([])
- const filmed = INTENTS.filter((i) => !NO_FILM_YET.has(i.id))
++ // The 3D films went up with 3.1.0, so 3D is in FILMED.
+
it('has a film for every Create tab, for Code and for Agent', () => {
- for (const intent of filmed) expect(HOWTO[intent.id], intent.id).toBeTruthy()
- for (const id of NO_FILM_YET) expect(stageHowtoTopic(id, 'cloud')).toBeNull()
+ for (const intent of FILMED) expect(HOWTO[intent.id], intent.id).toBeTruthy()
+ for (const id of NO_FILM_YET) expect(stageHowtoTopic(id, 'cloud'), id).toBeNull()
expect(HOWTO.code.films.map((f) => f.label)).toEqual(['Modes', 'Slash commands'])
expect(HOWTO.agent).toBeTruthy()
})
+ // Films that are rendered but wait for the upload sit in HOWTO_NOT_UPLOADED.
- // At upload the entry moves into HOWTO and its id leaves NO_FILM_YET.
++ // At upload the entry moves into HOWTO and its id leaves NO_FILM_YET. A tab
++ // in NO_FILM_YET without an entry there (Swap Character) has no film
++ // rendered yet at all.
+ it('keeps every film that waits for the upload ready, and out of the app', () => {
- for (const id of NO_FILM_YET) {
++ for (const id of Object.keys(HOWTO_NOT_UPLOADED)) {
++ expect(NO_FILM_YET.has(id), id).toBe(true)
+ const ready = HOWTO_NOT_UPLOADED[id]
+ expect(ready, id).toBeTruthy()
+ expect(HOWTO[id], id).toBeUndefined()
+ expect(ready.title).toBe(`How ${INTENTS.find((i) => i.id === id)!.short} works`)
+ for (const film of ready.films) {
+ const froms = film.steps.map((s) => s.from)
+ expect(froms).toEqual([...froms].sort((a, b) => a - b))
+ expect(film.steps.length).toBeGreaterThanOrEqual(3)
+ }
+ expect(stageHowtoTopic(id, 'local')).toBeNull()
+ expect(stageHowtoTopic(id, 'local', true)).toBeNull()
+ }
+ expect(HOWTO['3d'].films.map((f) => f.id)).toEqual(['3d', '3d-view'])
+ expect(HOWTO_NOT_UPLOADED['3d']).toBeUndefined()
+ })
+
it('names each Create film after the tab it stands on', () => {
- for (const intent of filmed) expect(HOWTO[intent.id].title).toBe(`How ${intent.short} works`)
+ for (const intent of FILMED) expect(HOWTO[intent.id].title).toBe(`How ${intent.short} works`)
})
it('keeps the lines of every film in the order they are shown', () => {
diff --cc src/lib/create/bridge/create-store.ts
index 6bcf1ee2,7bbbd4f1..9c6ab951
--- a/src/lib/create/bridge/create-store.ts
+++ b/src/lib/create/bridge/create-store.ts
@@@ -1,7 -1,10 +1,12 @@@
// The Create subcategories as the web app names them. The web keeps
// 'video_upscale' as its own intent; on the desktop the Create tab reaches it
// from the gallery, and the type that carries all thirteen is StudioIntent.
+import type { StudioIntent } from '../../render/create-studio'
+// The three ways of the 3D tab are studio intents of the Create tab only:
+// chat does not make 3D models (lib/create/order.ts chatKind).
- export type CreateIntent = Exclude<StudioIntent, '3d-text' | '3d-image' | '3d-video'>
+ //
+ // Swap Character is left out, as on the web (chat-catalog ChatIntent): Create
+ // in chat cannot order it, it needs the customer's video and one photo per
+ // person, and the chat order has no such places. The Create tab runs it
+ // through useCloudCreate and lib/create/swap-run.ts, not through engine.ts.
-import type { StudioIntent } from '../../render/create-studio'
-export type CreateIntent = Exclude<StudioIntent, 'swap_character'>
++export type CreateIntent = Exclude<StudioIntent, '3d-text' | '3d-image' | '3d-video' | 'swap_character'>
diff --cc src/lib/render/__tests__/alter-server.test.ts
index 355b17e8,177e5b11..c0890c06
--- a/src/lib/render/__tests__/alter-server.test.ts
+++ b/src/lib/render/__tests__/alter-server.test.ts
@@@ -35,19 -32,9 +35,23 @@@ describe('der alte Katalog ist wirklic
expect(m.weights, m.id).toBeUndefined()
}
const ids = new Set(alt.map((m) => m.id))
- // Eight from 02.10.2026, plus the two Swap Character models (07.11.2026),
- // plus Kling Motion Control and Nano Banana Pro (14.11.2026).
- expect(neueIds()).toHaveLength(12)
+ // Acht vom 02.10.2026, dazu die 23 des Web-Katalogs vom 24.10.2026
+ // (FLUX 3 Klein, die Spitzenmodelle, Wan 3.0, ElevenLabs v4 und mehr)
+ // und die 23 3D-Modelle von 3.1.0 (zehn, dazu dreizehn der zweiten Welle
- // vom 14.11.2026).
++ // vom 14.11.2026), dazu die drei des Character-Bereichs (Swap Character
++ // mit zwei Modellen, Kling 3.0 Pro Motion Control; Nano Banana Pro Edit
++ // steht schon im Katalog vom 24.10.2026).
+ const katalog2410 = new Set(['flux-3-klein', 'flux-3-klein-base', 'flux-3-klein-edit', 'krea-2-turbo', 'moss-image',
+ 'eleven-v4', 'eleven-v4-turbo', 'wan-3.0-t2v', 'wan-3.0-prime-t2v', 'minimax-h3-singularity', 'minimax-h3-singularity-ref',
+ 'gpt-image-2', 'gpt-image-2-edit', 'nano-banana-pro', 'nano-banana-pro-edit', 'flux-2-max', 'flux-2-max-edit',
+ 'midjourney', 'grok-imagine-quality', 'grok-imagine-quality-edit', 'recraft-v4.1-pro', 'kling-image-o3', 'kling-image-o3-edit'])
+ const dreiD = (id: string) => /3d|trellis|tripo|seed3d|rodin|meshy/.test(id)
- expect(neueIds().filter((id) => !katalog2410.has(id) && !dreiD(id))).toHaveLength(8)
++ const charakter = new Set(['openjutsu-character-swap', 'wan-2.2-animate-replace', 'kling-v3-pro-motion-control'])
++ expect(neueIds().filter((id) => !katalog2410.has(id) && !dreiD(id) && !charakter.has(id))).toHaveLength(8)
++ expect(neueIds().filter((id) => charakter.has(id))).toHaveLength(3)
+ expect(neueIds().filter((id) => katalog2410.has(id))).toHaveLength(23)
+ expect(neueIds().filter((id) => dreiD(id))).toHaveLength(23)
- expect(neueIds()).toHaveLength(54)
++ expect(neueIds()).toHaveLength(57)
for (const id of neueIds()) expect(ids.has(id), id).toBe(false)
// Der neue Katalog hat dagegen alles.
expect(neuerServer().length).toBeGreaterThanOrEqual(alt.length + 8)
diff --cc src/lib/render/__tests__/data-url-fetch-guard.test.ts
index 310f6f93,f2648f2e..9dfa63b3
--- a/src/lib/render/__tests__/data-url-fetch-guard.test.ts
+++ b/src/lib/render/__tests__/data-url-fetch-guard.test.ts
@@@ -26,11 -26,16 +26,18 @@@ const SERVER_ONLY: Record<string, Recor
// web address the call named itself is fetched by the browser.
'api/vram-handoff.ts': { url: 'an http(s) address the call named, never a file of the local image engine' },
'lib/backend-detector.ts': { url: 'probes of local server ports' },
- 'hooks/useCloudCreate.ts': { 'vj.result_url': 'signed result URL of a cloud job', 'src.result_url': 'signed result URL of a cloud job' },
+ // M1: outside Tauri, or on a Rust side without mcp_http_request.
+ 'api/mcp/http-fetch.ts': { url: 'the endpoint of an MCP server added by URL; MCPHttpClient refuses anything but http(s)' },
+ 'hooks/useCloudCreate.ts': { 'vj.result_url': 'signed result URL of a cloud job', 'src.result_url': 'signed result URL of a cloud job', 'job.result_url!': 'signed result URL of a cloud job' },
'components/create/experimental/PresetWorkshop.tsx': { 'fresh.result_url': 'signed result URL of a cloud job' },
'components/chat/create/save-media.ts': { url: 'result URL of an order card, always a server file' },
+ // The Character area: the picture of a cloud character, the base look or
+ // the last preview as /api/loras signs it (https). A saved photo character
+ // is read from its own blobs and never comes here.
+ 'components/create/experimental/hub/hubCharacters.ts': { 'c.image': 'signed https picture of a cloud character from /api/loras' },
+ // The head crop of the swap photos: the face model the app serves itself
+ // from public/face/, a fixed path, never a photo.
+ 'lib/create/face-detect.ts': { FACE_MODEL_PATH: 'the face model under /face/, a fixed path of the app' },
// The phone. None of the seven reads media; each sends a request to a server address the app builds.
'lib/lu-native.ts': { 'request.url': 'the browser stand-in of the native request to a paired desktop: method, headers and body to its http(s) address' },
'mobile/remote/remoteClient.ts': { url: 'API routes of a paired desktop, built from its http(s) base address' },
diff --cc src/lib/render/__tests__/preset-models.test.ts
index c42ec153,00c299b4..5bbc4dc4
--- a/src/lib/render/__tests__/preset-models.test.ts
+++ b/src/lib/render/__tests__/preset-models.test.ts
@@@ -136,13 -134,12 +136,17 @@@ describe('jedes waehlbare Modell faehr
})
it('jedes Studio-Modell gehoert zu genau einer Rolle', () => {
- for (const id of Object.keys(STUDIO_MODELS)) {
+ // Ein noch nicht gemessenes Modell (studio-contract.ts, unmeasuredHidden)
+ // gehoert zu keiner, solange der Server es nicht fuer die Messung freigibt.
+ for (const id of Object.keys(STUDIO_MODELS).filter((id) => STUDIO_MODELS[id].unmeasured)) {
+ expect(ALL_ROLES.filter((r) => presetModels(r).some((m) => m.id === id)), id).toEqual([])
+ }
+ for (const id of Object.keys(STUDIO_MODELS).filter((id) => !STUDIO_MODELS[id].unmeasured)) {
- const roles = ALL_ROLES.filter((r) => presetModels(r).some((m) => m.id === id))
+ // Swap Character uses SCAIL 2 of Motion on purpose (SWAP_ROLES, as on
+ // the web). The rule holds for every other role; a model that is only
+ // in a swap role belongs to that one.
+ const others = ALL_ROLES.filter((r) => !SWAP_ROLES.includes(r) && presetModels(r).some((m) => m.id === id))
+ const roles = others.length ? others : ALL_ROLES.filter((r) => presetModels(r).some((m) => m.id === id))
expect(roles, id).toHaveLength(1)
expect(roleForModel(id), id).toBe(roles[0])
}
diff --cc src/lib/render/cloud-jobs.ts
index e0a57067,bcd9eb00..6791723a
--- a/src/lib/render/cloud-jobs.ts
+++ b/src/lib/render/cloud-jobs.ts
@@@ -12,10 -12,9 +12,10 @@@
// too and which therefore cannot name CreateIntent either.
export type CreateIntentLike =
| 'image' | 'edit' | 'removebg' | 'video' | 'animate' | 'upscale' | 'eraser'
- | 'character' | 'lipsync' | 'music' | 'extend' | 'motion' | '3d'
- | 'character' | 'lipsync' | 'music' | 'extend' | 'motion' | 'swap_character'
++ | 'character' | 'lipsync' | 'music' | 'extend' | 'motion' | '3d' | 'swap_character'
-export type RenderKind = 'image' | 'video' | 'audio'
+// '3d' (3.1.0): a GLB model. Cloud 3D runs as op 'studio' only.
+export type RenderKind = 'image' | 'video' | 'audio' | '3d'
// 'upscale'/'eraser' are hosted utility endpoints (super-resolution /
// masked object removal) — cloud-only intents in the Create UI since 2.5.7.
// 2.5.8 adds the specialized ops behind the new Create categories: 'lipsync'
@@@ -87,9 -79,10 +87,13 @@@ export function intentToJob(intent: Cre
return { kind: 'video', op: 'extend' }
case 'motion':
return { kind: 'video', op: 'motion' }
+ case '3d':
+ // Every cloud 3D model is a studio model (C3D 2.5): no op of its own.
+ return { kind: '3d', op: 'studio' }
+ // Swap Character runs studio models only (op 'studio' at submit). The op
+ // here says which inputs are gathered: a video, as for Motion.
+ case 'swap_character':
+ return { kind: 'video', op: 'motion' }
default:
return { kind: 'image', op: 'generate' }
}
diff --cc src/lib/render/create-studio.ts
index b48c9f54,f2fc566c..a7812aa2
--- a/src/lib/render/create-studio.ts
+++ b/src/lib/render/create-studio.ts
@@@ -50,13 -41,8 +50,14 @@@ const INTENT_ROLE: Partial<Record<Studi
music: ['music'],
extend: ['extend'],
motion: ['motion'],
+ swap_character: ['swap-character'],
video_upscale: ['upscale'],
+ // 3D: a video sends its frames to a model that takes several sides first,
+ // and to a one-picture model with its best frame where none is there.
+ '3d-text': ['mesh-text'],
+ '3d-image': ['mesh-image', 'mesh-views'],
+ '3d-video': ['mesh-views', 'mesh-image'],
+ '3d': ['mesh-image', 'mesh-views', 'mesh-text'],
}
export function intentRoles(intent: StudioIntent): StepRole[] {
diff --cc src/lib/render/preset-models.ts
index 1cb164a7,41bc4d3f..6a66da9d
--- a/src/lib/render/preset-models.ts
+++ b/src/lib/render/preset-models.ts
@@@ -21,8 -22,8 +22,10 @@@ export type StepRole
| 'duo' | 'extend' | 'motion' | 'restyle' | 'angles' | 'edit' | 'upscale'
// 02.10.2026: Text zu Video, Referenz zu Video.
| 'video' | 'reference'
+ // 3.1.0: 3D from words, from one picture, from several sides.
+ | 'mesh-text' | 'mesh-image' | 'mesh-views'
+ // 07.11.2026: Swap Character (lib/render/swap.ts).
+ | 'swap-character'
export interface PresetModel {
id: string
@@@ -45,7 -46,7 +48,8 @@@ const ROLE_OP: Record<StepRole, RenderO
extend: 'extend', motion: 'motion', restyle: 'studio', angles: 'studio',
edit: 'edit', upscale: 'upscale',
video: 'generate', reference: 'studio',
+ 'mesh-text': 'studio', 'mesh-image': 'studio', 'mesh-views': 'studio',
+ 'swap-character': 'studio',
}
/** The staged inputs a NON-studio member consumes, as provider field -> job
@@@ -59,7 -60,7 +63,8 @@@ export const ROLE_INPUTS: Record<StepRo
edit: { image: 'source_path' },
upscale: { video: 'video_path' },
video: {}, reference: {},
+ 'mesh-text': {}, 'mesh-image': { image: 'source_path' }, 'mesh-views': { images: 'image_paths' },
+ 'swap-character': {},
}
function studioIds(match: (id: string) => boolean): string[] {
@@@ -108,11 -109,13 +113,14 @@@ const ROLE_MEMBERS: Record<StepRole, (
// Two voice tracks on one image. Only one endpoint does this.
duo: () => ['infinitetalk-multi', 'longcat-avatar-multi'],
extend: () => [
- 'preset-wan-2.2-spicy-extend', 'wan-2.2-spicy-extend', 'ltx-2-extend', 'pixverse-extend',
+ 'preset-wan-2.2-spicy-extend', 'wan-2.2-spicy-extend',
'wan-3.0-extend', 'seedance-2.5-extend',
],
- // Movement from a driving clip onto a character image.
- motion: () => ['scail-2', 'wan-2.2-animate-2', 'steady-dancer', 'p-video-animate', 'dreamactor-v2'],
+ // Movement from a driving clip onto a character image. Kling 3.0 Pro Motion
+ // Control (14.11.2026): the character moves like in the clip, at the highest
- // resolution of the list.
- motion: () => ['scail-2', 'kling-v3-pro-motion-control', 'wan-2.2-animate-2', 'wan-2.2-animate', 'steady-dancer', 'p-video-animate', 'dreamactor-v2'],
++ // resolution of the list. wan-2.2-animate is retired since 24.10.2026
++ // (retired-models.ts), its successor wan-2.2-animate-2 stands here.
++ motion: () => ['scail-2', 'kling-v3-pro-motion-control', 'wan-2.2-animate-2', 'steady-dancer', 'p-video-animate', 'dreamactor-v2'],
// A clip goes in, the same clip comes back changed. Wan DITTO picks a style
// from a list, MiniMax H3 follows a sentence.
restyle: () => ['wan-ditto', 'minimax-h3-video-edit'],
@@@ -121,11 -124,10 +129,15 @@@
edit: () => [...STUDIO_EDIT_MODELS, 'qwen-image-edit'],
// A finished clip goes in, the same clip at more pixels comes out.
upscale: () => ['video-upscaler', 'flashvsr', 'video-upscaler-pro', 'ultimate-video-upscaler', 'crystal-upscaler', 'flux-3-upscale'],
+ // 3D (3.1.0): every studio model of kind '3d', sorted by what it reads.
+ // Nothing: words. One picture: source_path. A list: several sides.
+ 'mesh-text': () => studioIds((id) => STUDIO_MODELS[id].kind === '3d' && !Object.keys(STUDIO_MODELS[id].inputs).length),
+ 'mesh-image': () => studioIds((id) => STUDIO_MODELS[id].kind === '3d' && Object.values(STUDIO_MODELS[id].inputs).includes('source_path')),
+ 'mesh-views': () => studioIds((id) => STUDIO_MODELS[id].kind === '3d' && Object.values(STUDIO_MODELS[id].inputs).includes('image_paths')),
+ // A real video stays, its people become the customer's (lib/render/swap.ts).
+ // The one role that shares models with another (SCAIL 2 and Kling Motion
+ // Control are Motion, see SWAP_ROLES).
+ 'swap-character': () => [...SWAP_MODELS],
}
/** Classic ids that a studio entry already covers on the same endpoint. The
@@@ -329,7 -319,7 +341,8 @@@ const CLASSIC_PROMPT: Record<StepRole,
video: true, reference: true,
talking: false, presenter: false, motion: false, soundtrack: false, duo: false,
angles: false, upscale: false,
+ 'mesh-text': true, 'mesh-image': false, 'mesh-views': false,
+ 'swap-character': false,
}
export function rolePrompts(role: StepRole): boolean {
diff --cc src/lib/render/provider-schemas.json
index 47406b5a,ea1e716d..c1d3a35e
--- a/src/lib/render/provider-schemas.json
+++ b/src/lib/render/provider-schemas.json
@@@ -9429,4177 -9429,207 +9429,4301 @@@
"seed"
]
},
+ "base/flux-3-klein-image-distilled/text-to-image": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "default": "1:1",
+ "description": "The aspect ratio of the generated image.",
+ "enum": [
+ "1:1",
+ "1:2",
+ "2:1",
+ "1:3",
+ "3:1",
+ "2:3",
+ "3:2",
+ "3:4",
+ "4:3",
+ "4:5",
+ "5:4",
+ "9:16",
+ "16:9",
+ "9:21",
+ "21:9"
+ ],
+ "type": "string"
+ },
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation. A full scene caption (framing, subject, background, lighting) works best.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "1k",
+ "description": "Total output resolution tier: 1k (~1 megapixel), 1.5k (~2.4 megapixels) or 2k (~4 megapixels).",
+ "enum": [
+ "1k",
+ "1.5k",
+ "2k"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "aspect_ratio",
+ "resolution",
+ "output_format",
+ "seed",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "base/flux-3-klein-image-base/text-to-image": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "default": "1:1",
+ "description": "The aspect ratio of the generated image.",
+ "enum": [
+ "1:1",
+ "1:2",
+ "2:1",
+ "1:3",
+ "3:1",
+ "2:3",
+ "3:2",
+ "3:4",
+ "4:3",
+ "4:5",
+ "5:4",
+ "9:16",
+ "16:9",
+ "9:21",
+ "21:9"
+ ],
+ "type": "string"
+ },
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation. A full scene caption (framing, subject, background, lighting) works best.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "1k",
+ "description": "Total output resolution tier: 1k (~1 megapixel), 1.5k (~2.4 megapixels) or 2k (~4 megapixels).",
+ "enum": [
+ "1k",
+ "1.5k",
+ "2k"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "aspect_ratio",
+ "resolution",
+ "output_format",
+ "seed",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "base/flux-3-klein-image-distilled/edit": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "description": "The output aspect ratio. Defaults to the first reference image.",
+ "enum": [
+ "1:1",
+ "1:2",
+ "2:1",
+ "1:3",
+ "3:1",
+ "2:3",
+ "3:2",
+ "3:4",
+ "4:3",
+ "4:5",
+ "5:4",
+ "9:16",
+ "16:9",
+ "9:21",
+ "21:9"
+ ],
+ "type": "string"
+ },
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "images": {
+ "description": "Reference images to edit from (1 to 3 URLs). The first image also sets the output aspect ratio unless aspect_ratio is given.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 3,
+ "minItems": 1,
+ "type": "array"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The edit instruction describing the desired result. To place or move elements with bounding boxes, refer to the n-th reference as <ref_image_n>.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "1k",
+ "description": "Total output resolution tier: 1k (~1 megapixel), 1.5k (~2.4 megapixels) or 2k (~4 megapixels).",
+ "enum": [
+ "1k",
+ "1.5k",
+ "2k"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt",
+ "images"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "images",
+ "aspect_ratio",
+ "resolution",
+ "output_format",
+ "seed",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "base/krea-v2/turbo": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "default": "1:1",
+ "description": "The aspect ratio of the generated image.",
+ "enum": [
+ "1:1",
+ "1:2",
+ "2:1",
+ "1:3",
+ "3:1",
+ "2:3",
+ "3:2",
+ "3:4",
+ "4:3",
+ "4:5",
+ "5:4",
+ "9:16",
+ "16:9",
+ "9:21",
+ "21:9"
+ ],
+ "type": "string"
+ },
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "image": {
+ "description": "Optional source image URL. When provided, the model runs image-to-image from it; the output keeps the source aspect ratio.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "1k",
+ "description": "Total output resolution tier: 1k (~1 megapixel) or 2k (~4 megapixels, generated natively).",
+ "enum": [
+ "1k",
+ "2k"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "strength": {
+ "default": 0.8,
+ "description": "Image-to-image strength (0-1). Higher values repaint the source image more freely. Only used when `image` is set.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "aspect_ratio",
+ "resolution",
+ "strength",
+ "seed",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "base/moss-image/text-to-image": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "default": "1:1",
+ "description": "The aspect ratio of the generated image.",
+ "enum": [
+ "1:1",
+ "1:2",
+ "2:1",
+ "1:3",
+ "3:1",
+ "2:3",
+ "3:2",
+ "3:4",
+ "4:3",
+ "4:5",
+ "5:4",
+ "9:16",
+ "16:9",
+ "9:21",
+ "21:9"
+ ],
+ "type": "string"
+ },
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation. Supports long, detailed prompts and Chinese and English text rendering inside the image.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "1k",
+ "description": "Total output resolution tier: 1k (~1 megapixel), 1.5k (~2.4 megapixels) or 2k (~4 megapixels).",
+ "enum": [
+ "1k",
+ "1.5k",
+ "2k"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "aspect_ratio",
+ "resolution",
+ "output_format",
+ "seed",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "elevenlabs/eleven-v4": {
+ "additionalProperties": false,
+ "properties": {
+ "similarity": {
+ "default": 0.75,
+ "description": "How closely the generated speech follows the selected voice. Higher values increase voice similarity.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "stability": {
+ "default": 0.5,
+ "description": "How consistent the delivery stays. Lower values allow more expressive variation; higher values favor consistency.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "text": {
+ "description": "Text to convert to speech. Supports expressive audio tags such as [whispering] and [laughing]. Maximum 10,000 characters for this endpoint.",
+ "example": "[warmly] Welcome to a new day. Take a deep breath, find your rhythm, and make a little room for something wonderful.",
+ "maxLength": 10000,
+ "minLength": 1,
+ "type": "string",
+ "x-rows": 5,
+ "x-ui-component": "textarea"
+ },
+ "voice_id": {
+ "default": "Alicia",
+ "description": "The voice to use for speech generation. Choose a preset voice name, or enter any ElevenLabs voice ID.",
+ "minLength": 1,
+ "type": "string",
+ "x-placeholder": "Please input your custom voice ID",
+ "x-suggestions": [
+ "Alicia",
+ "Aria",
+ "Roger",
+ "Sarah",
+ "Laura",
+ "Charlie",
+ "George",
+ "Callum",
+ "River",
+ "Liam",
+ "Charlotte",
+ "Alice",
+ "Matilda",
+ "Will",
+ "Jessica",
+ "Eric",
+ "Chris",
+ "Brian",
+ "Daniel",
+ "Lily",
+ "Bill",
+ "Adam",
+ "Bella",
+ "Harry",
+ "Wyatt",
+ "Sawyer",
+ "Baxter",
+ "Caleb",
+ "Finley",
+ "Eldrin",
+ "Kaelen",
+ "Jade",
+ "Elara",
+ "Lawrence",
+ "Florence",
+ "Maisie",
+ "Elowen",
+ "Darian",
+ "Talia",
+ "Warren",
+ "Eddie"
+ ],
+ "x-ui-component": "command"
+ }
+ },
+ "required": [
+ "text",
+ "voice_id"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "text",
+ "voice_id",
+ "stability",
+ "similarity"
+ ]
+ },
+ "elevenlabs/eleven-v4-turbo": {
+ "additionalProperties": false,
+ "properties": {
+ "similarity": {
+ "default": 0.75,
+ "description": "How closely the generated speech follows the selected voice. Higher values increase voice similarity.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "stability": {
+ "default": 0.5,
+ "description": "How consistent the delivery stays. Lower values allow more expressive variation; higher values favor consistency.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "text": {
+ "description": "Text to convert to speech. Supports expressive audio tags such as [whispering] and [laughing]. Maximum 10,000 characters for this endpoint.",
+ "example": "[warmly] Welcome to a new day. Take a deep breath, find your rhythm, and make a little room for something wonderful.",
+ "maxLength": 10000,
+ "minLength": 1,
+ "type": "string",
+ "x-rows": 5,
+ "x-ui-component": "textarea"
+ },
+ "voice_id": {
+ "default": "Alicia",
+ "description": "The voice to use for speech generation. Choose a preset voice name, or enter any ElevenLabs voice ID.",
+ "minLength": 1,
+ "type": "string",
+ "x-placeholder": "Please input your custom voice ID",
+ "x-suggestions": [
+ "Alicia",
+ "Aria",
+ "Roger",
+ "Sarah",
+ "Laura",
+ "Charlie",
+ "George",
+ "Callum",
+ "River",
+ "Liam",
+ "Charlotte",
+ "Alice",
+ "Matilda",
+ "Will",
+ "Jessica",
+ "Eric",
+ "Chris",
+ "Brian",
+ "Daniel",
+ "Lily",
+ "Bill",
+ "Adam",
+ "Bella",
+ "Harry",
+ "Wyatt",
+ "Sawyer",
+ "Baxter",
+ "Caleb",
+ "Finley",
+ "Eldrin",
+ "Kaelen",
+ "Jade",
+ "Elara",
+ "Lawrence",
+ "Florence",
+ "Maisie",
+ "Elowen",
+ "Darian",
+ "Talia",
+ "Warren",
+ "Eddie"
+ ],
+ "x-ui-component": "command"
+ }
+ },
+ "required": [
+ "text",
+ "voice_id"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "text",
+ "voice_id",
+ "stability",
+ "similarity"
+ ]
+ },
+ "alibaba/wan-3.0/text-to-video": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "default": "16:9",
+ "description": "The aspect ratio of the generated video.",
+ "enum": [
+ "16:9",
+ "9:16",
+ "1:1",
+ "4:3",
+ "3:4"
+ ],
+ "type": "string"
+ },
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds (2-30s).",
+ "maximum": 30,
+ "minimum": 2,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "enable_prompt_expansion": {
+ "default": false,
+ "description": "If set to true, the prompt optimizer will be enabled.",
+ "type": "boolean"
+ },
+ "generate_audio": {
+ "default": true,
+ "description": "Whether to include audio in the generated video.",
+ "type": "boolean",
+ "x-aliases": [
+ "enable_audio"
+ ]
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "The resolution of the generated video.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "resolution",
+ "aspect_ratio",
+ "duration",
+ "enable_prompt_expansion",
+ "generate_audio",
+ "seed"
+ ]
+ },
+ "alibaba/wan-3.0-prime/text-to-video": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "default": "16:9",
+ "description": "The aspect ratio of the generated video.",
+ "enum": [
+ "16:9",
+ "9:16",
+ "1:1",
+ "4:3",
+ "3:4"
+ ],
+ "type": "string"
+ },
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds (2-30s).",
+ "maximum": 30,
+ "minimum": 2,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "enable_prompt_expansion": {
+ "default": false,
+ "description": "If set to true, the prompt optimizer will be enabled.",
+ "type": "boolean"
+ },
+ "generate_audio": {
+ "default": true,
+ "description": "Whether to include audio in the generated video.",
+ "type": "boolean",
+ "x-aliases": [
+ "enable_audio"
+ ]
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "The resolution of the generated video.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "resolution",
+ "aspect_ratio",
+ "duration",
+ "enable_prompt_expansion",
+ "generate_audio",
+ "seed"
+ ]
+ },
+ "base/minimax-h3-singularity/image-to-video": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "Output video duration in seconds.",
+ "enum": [
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15
+ ],
+ "type": "integer",
+ "x-ui-component": "select"
+ },
+ "image": {
+ "description": "First-frame image URL. The output canvas follows this image's aspect ratio.",
+ "type": "string"
+ },
+ "last_image": {
+ "description": "Optional last-frame image URL. When provided, the video interpolates from the first frame to this frame.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "Text description of the desired motion, scene, and soundtrack. Audio is generated natively together with the video.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "Output video resolution. 768p is the model's native canvas; 480p is a faster, lower-cost tier; 540p is a mid tier at 1.5x the 480p price. 1080p is the highest-quality full-HD tier at 2x the 768p price (generation takes longer).",
+ "enum": [
+ "480p",
+ "540p",
+ "768p",
+ "1080p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt",
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "last_image",
+ "resolution",
+ "duration",
+ "seed"
+ ]
+ },
+ "base/minimax-h3-singularity/reference-to-video": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "default": "16:9",
+ "description": "Output aspect ratio.",
+ "enum": [
+ "16:9",
+ "9:16",
+ "1:1",
+ "4:3",
+ "3:4",
+ "21:9",
+ "9:21"
+ ],
+ "type": "string"
+ },
+ "duration": {
+ "default": 5,
+ "description": "Output video duration in seconds.",
+ "enum": [
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15
+ ],
+ "type": "integer",
+ "x-ui-component": "select"
+ },
+ "prompt": {
+ "description": "Text description of the desired video. Refer to reference inputs as <Picture 1>..<Picture 9>, <Video 1>..<Video 3>, and <Audio 1>..<Audio 3>. Audio is generated natively together with the video.",
+ "type": "string"
+ },
+ "reference_audios": {
+ "description": "Standalone reference audio URLs (up to 3, trimmed to 15 seconds each).",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "reference_images": {
+ "description": "Reference image URLs (up to 9). At least one reference input is required.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 9,
+ "type": "array"
+ },
+ "reference_videos": {
+ "description": "Reference video URLs (up to 3, usable at any output resolution). Their soundtracks are used automatically. Total reference video duration is budgeted to 15 seconds; longer inputs are truncated fairly.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "Output video resolution. 768p is the model's native canvas; 480p is a faster, lower-cost tier; 540p is a mid tier at 1.5x the 480p price. 1080p is the highest-quality full-HD tier at 2x the 768p price (generation takes longer).",
+ "enum": [
+ "480p",
+ "540p",
+ "768p",
+ "1080p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "reference_images",
+ "reference_videos",
+ "reference_audios",
+ "aspect_ratio",
+ "resolution",
+ "duration",
+ "seed"
+ ]
+ },
+ "bytedance/seedance-2.0-mini/image-to-video-spicy": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "description": "The aspect ratio of the generated video. If not specified, adapts to the input image.",
+ "enum": [
+ "16:9",
+ "9:16",
+ "4:3",
+ "3:4",
+ "1:1",
+ "21:9"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated video in seconds (4-15s).",
+ "maximum": 15,
+ "minimum": 4,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "generate_audio": {
+ "default": true,
+ "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
+ "type": "boolean"
+ },
+ "image": {
+ "description": "Start image URL to guide the video generation.",
+ "type": "string"
+ },
+ "last_image": {
+ "description": "Last frame image URL for video continuation.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "Describe the scene, action, camera movement, and mood for the video.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "The output video resolution.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p",
+ "4k"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "prompt",
+ "last_image",
+ "aspect_ratio",
+ "resolution",
+ "duration",
+ "generate_audio",
+ "seed"
+ ]
+ },
+ "openai/gpt-image-2/text-to-image": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "default": "1:1",
+ "description": "The aspect ratio of the generated image. Defaults to 1:1.",
+ "enum": [
+ "1:1",
+ "1:2",
+ "2:1",
+ "1:3",
+ "3:1",
+ "2:3",
+ "3:2",
+ "3:4",
+ "4:3",
+ "4:5",
+ "5:4",
+ "9:16",
+ "16:9",
+ "9:21",
+ "21:9"
+ ],
+ "type": "string",
+ "x-placeholder": "Select aspect ratio"
+ },
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "output_format": {
+ "default": "png",
+ "description": "The format of the output image.",
+ "enum": [
+ "png",
+ "jpeg",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "quality": {
+ "default": "medium",
+ "description": "The quality of the generated image. Higher quality costs more.",
+ "enum": [
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ },
+ "resolution": {
+ "default": "1k",
+ "description": "The resolution of the output image.",
+ "enum": [
+ "1k",
+ "2k",
+ "4k"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "aspect_ratio",
+ "resolution",
+ "quality",
+ "output_format",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "openai/gpt-image-2/edit": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
+ "enum": [
+ "1:1",
+ "1:2",
+ "2:1",
+ "1:3",
+ "3:1",
+ "2:3",
+ "3:2",
+ "3:4",
+ "4:3",
+ "4:5",
+ "5:4",
+ "9:16",
+ "16:9",
+ "9:21",
+ "21:9"
+ ],
+ "type": "string",
+ "x-placeholder": "Select aspect ratio"
+ },
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "images": {
+ "description": "List of URLs of input images for editing.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "output_format": {
+ "default": "png",
+ "description": "The format of the output image.",
+ "enum": [
+ "png",
+ "jpeg",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "quality": {
+ "default": "medium",
+ "description": "The quality of the generated image. Higher quality costs more.",
+ "enum": [
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ },
+ "resolution": {
+ "default": "1k",
+ "description": "The resolution of the output image.",
+ "enum": [
+ "1k",
+ "2k",
+ "4k"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt",
+ "images"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "images",
+ "aspect_ratio",
+ "resolution",
+ "quality",
+ "output_format",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "google/nano-banana-pro/text-to-image": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "default": "1:1",
+ "description": "The aspect ratio of the generated image. Defaults to 1:1.",
+ "enum": [
+ "1:1",
+ "3:2",
+ "2:3",
+ "3:4",
+ "4:3",
+ "4:5",
+ "5:4",
+ "9:16",
+ "16:9",
+ "21:9"
+ ],
+ "type": "string",
+ "x-placeholder": "Select aspect ratio"
+ },
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "output_format": {
+ "default": "png",
+ "description": "The format of the output image.",
+ "enum": [
+ "png",
+ "jpeg"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "1k",
+ "description": "The resolution of the output image.",
+ "enum": [
+ "1k",
+ "2k",
+ "4k"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "aspect_ratio",
+ "resolution",
+ "output_format",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "google/nano-banana-pro/edit": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
+ "enum": [
+ "1:1",
+ "3:2",
+ "2:3",
+ "3:4",
+ "4:3",
+ "4:5",
+ "5:4",
+ "9:16",
+ "16:9",
+ "21:9"
+ ],
+ "type": "string",
+ "x-placeholder": "Select aspect ratio"
+ },
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "images": {
+ "description": "List of URLs of input images for editing. The maximum number of images is 14.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 14,
+ "type": "array"
+ },
+ "output_format": {
+ "default": "png",
+ "description": "The format of the output image.",
+ "enum": [
+ "png",
+ "jpeg"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "1k",
+ "description": "The resolution of the output image.",
+ "enum": [
+ "1k",
+ "2k",
+ "4k"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt",
+ "images"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "images",
+ "aspect_ratio",
+ "resolution",
+ "output_format",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "base/flux-2-max/text-to-image": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1024*1024",
+ "description": "The size of the generated media in pixels (width*height).",
+ "maximum": 2048,
+ "minimum": 256,
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "size",
+ "seed",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "base/flux-2-max/edit": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "images": {
+ "description": "List of URLs of input images for editing. The maximum number of images is 3.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "description": "The size of the generated media in pixels (width*height).",
+ "maximum": 2048,
+ "minimum": 256,
+ "type": "string",
+ "x-hidden": true
+ }
+ },
+ "required": [
+ "prompt",
+ "images"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "images",
+ "size",
+ "seed",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "midjourney/text-to-image": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "default": "1:1",
+ "description": "The aspect ratio of the generated image. Defaults to 1:1.",
+ "enum": [
+ "1:1",
+ "9:16",
+ "16:9",
+ "4:3",
+ "3:4",
+ "2:3",
+ "3:2",
+ "9:21",
+ "21:9"
+ ],
+ "type": "string",
+ "x-placeholder": "Select Aspect Ratio",
+ "x-ui-component": "select"
+ },
+ "chaos": {
+ "default": 0,
+ "description": "Controls variation and unpredictability.",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "hd": {
+ "default": false,
+ "description": "Enable HD generation mode.",
+ "type": "boolean"
+ },
+ "prompt": {
+ "description": "Text prompt describing the image to generate.",
+ "type": "string"
+ },
+ "quality": {
+ "default": 1,
+ "description": "Generation quality setting supported by Midjourney v8.1.",
+ "enum": [
+ 1,
+ 4
+ ],
+ "type": "integer",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "Random seed. Use -1 for a random seed.",
+ "type": "integer"
+ },
+ "sref": {
+ "description": "Optional style reference image URL.",
+ "disabled": true,
+ "type": "string",
+ "x-accept": "image/*",
+ "x-ui-component": "uploader"
+ },
+ "stylize": {
+ "default": 0,
+ "description": "Controls how strongly Midjourney's aesthetic style influences the result.",
+ "maximum": 1000,
+ "minimum": 0,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "weird": {
+ "default": 0,
+ "description": "Adds unconventional or surreal characteristics.",
+ "maximum": 3000,
+ "minimum": 0,
+ "type": "integer",
+ "x-ui-component": "slider"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "sref",
+ "aspect_ratio",
+ "hd",
+ "quality",
+ "stylize",
+ "chaos",
+ "weird",
+ "seed"
+ ]
+ },
+ "x-ai/grok-imagine-image-quality/text-to-image": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "default": "1:1",
+ "description": "The aspect ratio of the generated image. Defaults to 1:1.",
+ "enum": [
+ "1:1",
+ "16:9",
+ "9:16",
+ "4:3",
+ "3:4",
+ "3:2",
+ "2:3"
+ ],
+ "type": "string"
+ },
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "num_images": {
+ "default": 1,
+ "description": "Number of images to generate. Range: 1-4.",
+ "disabled": true,
+ "maximum": 4,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "Output image format.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The prompt for image generation or editing.",
+ "type": "string",
+ "x-rows": 4,
+ "x-ui-component": "textarea"
+ },
+ "resolution": {
+ "default": "1k",
+ "description": "Output resolution tier.",
+ "enum": [
+ "1k",
+ "2k"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "aspect_ratio",
+ "resolution",
+ "num_images",
+ "output_format",
+ "enable_base64_output"
+ ]
+ },
+ "x-ai/grok-imagine-image-quality/edit": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "default": "auto",
+ "description": "Aspect ratio of the generated image.",
+ "enum": [
+ "auto",
+ "1:1",
+ "16:9",
+ "9:16",
+ "4:3",
+ "3:4",
+ "3:2",
+ "2:3"
+ ],
+ "type": "string"
+ },
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "images": {
+ "description": "The images to edit. A maximum of 3 reference images can be uploaded.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "num_images": {
+ "default": 1,
+ "description": "Number of images to generate. Range: 1-4.",
+ "disabled": true,
+ "maximum": 4,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "Output image format.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The prompt for image generation or editing.",
+ "type": "string",
+ "x-rows": 4,
+ "x-ui-component": "textarea"
+ },
+ "resolution": {
+ "default": "1k",
+ "description": "Output resolution tier.",
+ "enum": [
+ "1k",
+ "2k"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt",
+ "images"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "images",
+ "aspect_ratio",
+ "resolution",
+ "num_images",
+ "output_format",
+ "enable_base64_output"
+ ]
+ },
+ "recraft-ai/recraft-v4.1-pro/text-to-image": {
+ "additionalProperties": false,
+ "properties": {
+ "image_size": {
+ "default": "1:1",
+ "description": "Output image size preset.",
+ "enum": [
+ "1:1",
+ "16:9",
+ "9:16",
+ "4:3",
+ "3:4"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "prompt": {
+ "description": "Text prompt for the generated image.",
+ "type": "string",
+ "x-rows": 4,
+ "x-ui-component": "textarea"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image_size"
+ ]
+ },
+ "kwaivgi/kling-image-o3/text-to-image": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "default": "16:9",
+ "description": "The aspect ratio of the generated image. Defaults to 16:9.",
+ "enum": [
+ "16:9",
+ "9:16",
+ "1:1",
+ "4:3",
+ "3:4",
+ "3:2",
+ "2:3",
+ "21:9"
+ ],
+ "type": "string"
+ },
+ "num_images": {
+ "default": 1,
+ "description": "Number of images to generate.",
+ "disabled": true,
+ "maximum": 9,
+ "minimum": 1,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "output_format": {
+ "default": "png",
+ "description": "Output image format.",
+ "enum": [
+ "png",
+ "jpeg",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "Text prompt for image generation.",
+ "type": "string",
+ "x-ui-component": "textarea"
+ },
+ "resolution": {
+ "default": "1k",
+ "description": "Image generation resolution.",
+ "enum": [
+ "1k",
+ "2k",
+ "4k"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "aspect_ratio",
+ "resolution",
+ "num_images",
+ "output_format"
+ ]
+ },
+ "kwaivgi/kling-image-o3/edit": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "default": "auto",
+ "description": "Aspect ratio of the generated image.",
+ "enum": [
+ "auto",
+ "16:9",
+ "9:16",
+ "1:1",
+ "4:3",
+ "3:4",
+ "3:2",
+ "2:3",
+ "21:9"
+ ],
+ "type": "string"
+ },
+ "images": {
+ "description": "Reference images (max 10). Refer to them in the prompt as <<<image_1>>>, <<<image_2>>>, etc.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ "num_images": {
+ "default": 1,
+ "description": "Number of images to generate.",
+ "disabled": true,
+ "maximum": 9,
+ "minimum": 1,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "output_format": {
+ "default": "png",
+ "description": "Output image format.",
+ "enum": [
+ "png",
+ "jpeg",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "Text prompt for image generation. Refer to input images as <<<image_1>>>, <<<image_2>>>, etc. in array order.",
+ "type": "string",
+ "x-ui-component": "textarea"
+ },
+ "resolution": {
+ "default": "1k",
+ "description": "Image generation resolution.",
+ "enum": [
+ "1k",
+ "2k",
+ "4k"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt",
+ "images"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "images",
+ "aspect_ratio",
+ "resolution",
+ "num_images",
+ "output_format"
+ ]
+ },
+ "base/trellis-2/image-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "image": {
+ "description": "Single input image URL, data URI or base64 image.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "remove_background": {
+ "default": true,
+ "description": "Remove the image background before generation. Disable to use existing image alpha.",
+ "type": "boolean"
+ },
+ "resolution": {
+ "default": "1024",
+ "description": "Geometry resolution. Higher resolution takes more time and memory.",
+ "enum": [
+ "512",
+ "1024",
+ "1536"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "Random seed. Use -1 for a random seed.",
+ "type": "integer"
+ },
+ "target_face_count": {
+ "default": 200000,
+ "description": "Target mesh face count after simplification. The final count is approximate.",
+ "maximum": 1000000,
+ "minimum": 10000,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "texture_size": {
+ "default": 2048,
+ "description": "PBR texture resolution in pixels.",
+ "enum": [
+ 1024,
+ 2048,
+ 4096
+ ],
+ "type": "integer",
+ "x-ui-component": "select",
+ "disabled": true
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "resolution",
+ "texture_size",
+ "target_face_count",
+ "remove_background",
+ "seed"
+ ]
+ },
+ "base/hunyuan-3d-v3.1/text-to-3d-rapid": {
+ "additionalProperties": false,
+ "properties": {
+ "prompt": {
+ "description": "Text description of the 3D content to generate (max 200 UTF-8 characters)",
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt"
+ ]
+ },
+ "base/hunyuan-3d-v3.1/image-to-3d-rapid": {
+ "additionalProperties": false,
+ "properties": {
+ "image": {
+ "description": "Front view image of the object to convert into a 3D model (128-5000px, max 8MB, JPG/PNG/WEBP)",
+ "type": "string"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image"
+ ]
+ },
+ "tripo3d/h3.1/text-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "auto_size": {
+ "default": false,
+ "description": "Scale the model to real-world size in meters. Needs a textured model.",
+ "type": "boolean"
+ },
+ "delight": {
+ "default": true,
+ "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
+ "type": "boolean"
+ },
+ "export_uv": {
+ "default": true,
+ "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
+ "type": "boolean"
+ },
+ "face_limit": {
+ "description": "Maximum number of faces. Omit for adaptive. Up to 1,500,000 (2,000,000 with detailed geometry, 150,000 with quad; 500 to 20,000 with smart_low_poly).",
+ "maximum": 2000000,
+ "minimum": 48,
+ "type": "integer"
+ },
+ "generate_parts": {
+ "default": false,
+ "description": "Generate the model as separate editable parts. Parts are untextured and triangle-only.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "geometry_quality": {
+ "default": "standard",
+ "description": "Geometry quality: standard or detailed (Ultra, up to 2 million faces).",
+ "enum": [
+ "standard",
+ "detailed"
+ ],
+ "type": "string",
+ "x-ui-component": "select",
+ "disabled": true
+ },
+ "image_seed": {
+ "description": "Seed for the text-to-image step.",
+ "type": "integer",
+ "x-hidden": true
+ },
+ "model_seed": {
+ "description": "Seed for the geometry: the same seed and input give the same mesh.",
+ "type": "integer"
+ },
+ "negative_prompt": {
+ "description": "What the model should avoid. Up to 255 characters.",
+ "maxLength": 255,
+ "type": "string"
+ },
+ "pbr": {
+ "default": true,
+ "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "prompt": {
+ "description": "Description of the 3D object: shape, material, style and scale. Up to 1024 characters.",
+ "maxLength": 1024,
+ "type": "string",
+ "x-ui-component": "textarea"
+ },
+ "quad": {
+ "default": false,
+ "description": "Output a quad mesh (FBX). Without a face_limit it targets 10,000 faces.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "smart_low_poly": {
+ "default": false,
+ "description": "Generate a low-poly mesh with hand-crafted style topology. Best for simple objects.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "texture": {
+ "default": true,
+ "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "texture_quality": {
+ "default": "standard",
+ "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
+ "enum": [
+ "standard",
+ "detailed",
+ "extreme",
+ "fast"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "texture_seed": {
+ "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
+ "type": "integer"
+ },
+ "texture_version": {
+ "default": "v3.0-20250812",
+ "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
+ "enum": [
+ "v3.0-20250812",
+ "v3.5-20260815"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "negative_prompt",
+ "image_seed",
+ "texture",
+ "pbr",
+ "texture_quality",
+ "texture_version",
+ "delight",
+ "geometry_quality",
+ "quad",
+ "smart_low_poly",
+ "generate_parts",
+ "face_limit",
+ "auto_size",
+ "export_uv",
+ "model_seed",
+ "texture_seed"
+ ]
+ },
+ "tripo3d/h3.1/image-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "auto_size": {
+ "default": false,
+ "description": "Scale the model to real-world size in meters. Needs a textured model.",
+ "type": "boolean"
+ },
+ "delight": {
+ "default": true,
+ "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
+ "type": "boolean"
+ },
+ "enable_image_autofix": {
+ "default": false,
+ "description": "Improve a low-quality source image before generation. Takes longer.",
+ "type": "boolean"
+ },
+ "export_uv": {
+ "default": true,
+ "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
+ "type": "boolean"
+ },
+ "face_limit": {
+ "description": "Maximum number of faces. Omit for adaptive. Up to 1,500,000 (2,000,000 with detailed geometry, 150,000 with quad; 500 to 20,000 with smart_low_poly).",
+ "maximum": 2000000,
+ "minimum": 48,
+ "type": "integer"
+ },
+ "generate_parts": {
+ "default": false,
+ "description": "Generate the model as separate editable parts. Parts are untextured and triangle-only.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "geometry_quality": {
+ "default": "standard",
+ "description": "Geometry quality: standard or detailed (Ultra, up to 2 million faces).",
+ "enum": [
+ "standard",
+ "detailed"
+ ],
+ "type": "string",
+ "x-ui-component": "select",
+ "disabled": true
+ },
+ "image": {
+ "description": "Image of the object (PNG, JPEG or WebP, up to 20 MB). A clean background and little occlusion work best.",
+ "type": "string"
+ },
+ "model_seed": {
+ "description": "Seed for the geometry: the same seed and input give the same mesh.",
+ "type": "integer"
+ },
+ "orientation": {
+ "default": "default",
+ "description": "align_image rotates the model to the source image viewpoint (textured models only).",
+ "enum": [
+ "default",
+ "align_image"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "pbr": {
+ "default": true,
+ "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "quad": {
+ "default": false,
+ "description": "Output a quad mesh (FBX). Without a face_limit it targets 10,000 faces.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "smart_low_poly": {
+ "default": false,
+ "description": "Generate a low-poly mesh with hand-crafted style topology. Best for simple objects.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "texture": {
+ "default": true,
+ "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "texture_alignment": {
+ "default": "original_image",
+ "description": "What the texture follows: the source image colors or the generated geometry.",
+ "enum": [
+ "original_image",
+ "geometry"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "texture_quality": {
+ "default": "standard",
+ "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
+ "enum": [
+ "standard",
+ "detailed",
+ "extreme",
+ "fast"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "texture_seed": {
+ "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
+ "type": "integer"
+ },
+ "texture_version": {
+ "default": "v3.0-20250812",
+ "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
+ "enum": [
+ "v3.0-20250812",
+ "v3.5-20260815"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "texture",
+ "pbr",
+ "texture_quality",
+ "texture_version",
+ "delight",
+ "geometry_quality",
+ "quad",
+ "smart_low_poly",
+ "generate_parts",
+ "face_limit",
+ "texture_alignment",
+ "orientation",
+ "enable_image_autofix",
+ "auto_size",
+ "export_uv",
+ "model_seed",
+ "texture_seed"
+ ]
+ },
+ "tripo3d/h3.1/multiview-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "auto_size": {
+ "default": false,
+ "description": "Scale the model to real-world size in meters. Needs a textured model.",
+ "type": "boolean"
+ },
+ "delight": {
+ "default": true,
+ "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
+ "type": "boolean"
+ },
+ "enable_image_autofix": {
+ "default": false,
+ "description": "Improve a low-quality source image before generation. Takes longer.",
+ "type": "boolean"
+ },
+ "export_uv": {
+ "default": true,
+ "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
+ "type": "boolean"
+ },
+ "face_limit": {
+ "description": "Maximum number of faces. Omit for adaptive. Up to 1,500,000 (2,000,000 with detailed geometry, 150,000 with quad; 500 to 20,000 with smart_low_poly).",
+ "maximum": 2000000,
+ "minimum": 48,
+ "type": "integer"
+ },
+ "generate_parts": {
+ "default": false,
+ "description": "Generate the model as separate editable parts. Parts are untextured and triangle-only.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "geometry_quality": {
+ "default": "standard",
+ "description": "Geometry quality: standard or detailed (Ultra, up to 2 million faces).",
+ "enum": [
+ "standard",
+ "detailed"
+ ],
+ "type": "string",
+ "x-ui-component": "select",
+ "disabled": true
+ },
+ "images": {
+ "description": "2 to 4 images of the same object, in the order front, left, back, right. The front view is required.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "model_seed": {
+ "description": "Seed for the geometry: the same seed and input give the same mesh.",
+ "type": "integer"
+ },
+ "orientation": {
+ "default": "default",
+ "description": "align_image rotates the model to the source image viewpoint (textured models only).",
+ "enum": [
+ "default",
+ "align_image"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "pbr": {
+ "default": true,
+ "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "quad": {
+ "default": false,
+ "description": "Output a quad mesh (FBX). Without a face_limit it targets 10,000 faces.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "smart_low_poly": {
+ "default": false,
+ "description": "Generate a low-poly mesh with hand-crafted style topology. Best for simple objects.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "texture": {
+ "default": true,
+ "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "texture_alignment": {
+ "default": "original_image",
+ "description": "What the texture follows: the source image colors or the generated geometry.",
+ "enum": [
+ "original_image",
+ "geometry"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "texture_quality": {
+ "default": "standard",
+ "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
+ "enum": [
+ "standard",
+ "detailed",
+ "extreme",
+ "fast"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "texture_seed": {
+ "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
+ "type": "integer"
+ },
+ "texture_version": {
+ "default": "v3.0-20250812",
+ "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
+ "enum": [
+ "v3.0-20250812",
+ "v3.5-20260815"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ }
+ },
+ "required": [
+ "images"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "images",
+ "texture",
+ "pbr",
+ "texture_quality",
+ "texture_version",
+ "delight",
+ "geometry_quality",
+ "quad",
+ "smart_low_poly",
+ "generate_parts",
+ "face_limit",
+ "texture_alignment",
+ "orientation",
+ "enable_image_autofix",
+ "auto_size",
+ "export_uv",
+ "model_seed",
+ "texture_seed"
+ ]
+ },
+ "bytedance/seed3d-2.0/image-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "image": {
+ "description": "Reference image URL for Seed3D generation.",
+ "type": "string"
+ },
+ "subdivision_level": {
+ "default": "medium",
+ "description": "Mesh subdivision level.",
+ "enum": [
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "subdivision_level"
+ ]
+ },
+ "hyper3d/rodin-v2.5/text-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "addons": {
+ "description": "Optional HighPack add-on for 4K textures and higher-poly geometry.",
+ "enum": [
+ "HighPack"
+ ],
+ "type": "string",
+ "disabled": true
+ },
+ "geometry_file_format": {
+ "default": "glb",
+ "description": "Output geometry file format.",
+ "enum": [
+ "glb",
+ "obj",
+ "stl"
+ ],
+ "type": "string",
+ "disabled": true
+ },
+ "hd_texture": {
+ "default": false,
+ "description": "Enable enhanced texture post-processing.",
+ "type": "boolean"
+ },
+ "material": {
+ "default": "All",
+ "description": "Material output type.",
+ "enum": [
+ "PBR",
+ "Shaded",
+ "All"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "A text prompt describing the 3D asset to generate.",
+ "type": "string"
+ },
+ "quality_and_mesh": {
+ "default": "18K Quad",
+ "description": "Combined quality and mesh type selection.",
+ "enum": [
+ "4K Quad",
+ "8K Quad",
+ "18K Quad",
+ "50K Quad",
+ "2K Triangle",
+ "20K Triangle",
+ "150K Triangle",
+ "500K Triangle"
+ ],
+ "type": "string"
+ },
+ "ta_pose": {
+ "default": false,
+ "description": "Generate characters in T-pose or A-pose format.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "geometry_file_format",
+ "material",
+ "quality_and_mesh",
+ "hd_texture",
+ "ta_pose",
+ "addons"
+ ]
+ },
+ "hyper3d/rodin-v2.5/image-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "addons": {
+ "description": "Optional HighPack add-on for 4K textures and higher-poly geometry.",
+ "enum": [
+ "HighPack"
+ ],
+ "type": "string",
+ "disabled": true
+ },
+ "geometry_file_format": {
+ "default": "glb",
+ "description": "Output geometry file format.",
+ "enum": [
+ "glb",
+ "obj",
+ "stl"
+ ],
+ "type": "string",
+ "disabled": true
+ },
+ "hd_texture": {
+ "default": false,
+ "description": "Enable enhanced texture post-processing.",
+ "type": "boolean"
+ },
+ "images": {
+ "description": "Reference images for generating the 3D model. Up to 5 images are allowed.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 5,
+ "type": "array"
+ },
+ "material": {
+ "default": "All",
+ "description": "Material output type.",
+ "enum": [
+ "PBR",
+ "Shaded",
+ "All"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "Optional text prompt. If empty, the model auto-generates a prompt from the images.",
+ "type": "string"
+ },
+ "quality_and_mesh": {
+ "default": "500K Triangle",
+ "description": "Combined quality and mesh type selection.",
+ "enum": [
+ "4K Quad",
+ "8K Quad",
+ "18K Quad",
+ "50K Quad",
+ "2K Triangle",
+ "20K Triangle",
+ "150K Triangle",
+ "500K Triangle"
+ ],
+ "type": "string"
+ },
+ "ta_pose": {
+ "default": false,
+ "description": "Generate characters in T-pose or A-pose format.",
+ "type": "boolean"
+ },
+ "use_original_alpha": {
+ "default": false,
+ "description": "Preserve the transparency channel from input images.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "images"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "images",
+ "prompt",
+ "use_original_alpha",
+ "geometry_file_format",
+ "material",
+ "quality_and_mesh",
+ "hd_texture",
+ "ta_pose",
+ "addons"
+ ]
+ },
+ "meshy/v6-lite/image-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "animation_action_id": {
+ "default": 92,
+ "description": "Animation from the Meshy animation library applied when enable_animation is on.",
+ "type": "integer",
+ "disabled": true
+ },
+ "auto_size": {
+ "default": false,
+ "description": "Estimate the real-world size of the object and scale the model to it.",
+ "type": "boolean"
+ },
+ "enable_animation": {
+ "default": false,
+ "description": "Rig and animate the character with animation_action_id. The animated model is returned last.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "enable_pbr": {
+ "default": false,
+ "description": "Generate PBR maps (metallic, roughness, normal).",
+ "type": "boolean"
+ },
+ "enable_rigging": {
+ "default": false,
+ "description": "Rig the generated character (humanoids). The rigged model is returned after the model.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "image": {
+ "description": "Image of the object (JPEG, PNG or WebP).",
+ "type": "string"
+ },
+ "pose_mode": {
+ "description": "Generate characters in an A-pose or T-pose (useful before rigging).",
+ "enum": [
+ "a-pose",
+ "t-pose"
+ ],
+ "type": "string",
+ "x-ui-component": "select",
+ "disabled": true
+ },
+ "rigging_height_meters": {
+ "default": 1.7,
+ "description": "Character height in meters used for rigging.",
+ "type": "number",
+ "disabled": true
+ },
+ "should_remesh": {
+ "default": true,
+ "description": "Remesh to the target polycount and topology.",
+ "type": "boolean"
+ },
+ "should_texture": {
+ "default": true,
+ "description": "Texture the model. Turn off for an untextured mesh at a lower price.",
+ "type": "boolean"
+ },
+ "symmetry_mode": {
+ "default": "auto",
+ "description": "No longer has an effect; kept for compatibility.",
+ "enum": [
+ "off",
+ "auto",
+ "on"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "target_polycount": {
+ "default": 30000,
+ "description": "Target number of polygons (used when should_remesh is on).",
+ "maximum": 300000,
+ "minimum": 100,
+ "type": "integer"
+ },
+ "texture_image": {
+ "description": "Optional reference image for the texture. Takes priority over texture_prompt.",
+ "type": "string"
+ },
+ "texture_prompt": {
+ "description": "Optional description of the texture.",
+ "type": "string"
+ },
+ "topology": {
+ "default": "triangle",
+ "description": "Mesh topology.",
+ "enum": [
+ "triangle",
+ "quad"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "should_texture",
+ "texture_prompt",
+ "texture_image",
+ "enable_pbr",
+ "topology",
+ "target_polycount",
+ "should_remesh",
+ "symmetry_mode",
+ "pose_mode",
+ "auto_size",
+ "enable_rigging",
+ "rigging_height_meters",
+ "enable_animation",
+ "animation_action_id"
+ ]
+ },
+ "base/hunyuan3d-v3/text-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_pbr": {
+ "default": false,
+ "description": "Whether to enable PBR material generation",
+ "type": "boolean",
+ "disabled": true
+ },
+ "face_count": {
+ "default": 500000,
+ "description": "Target face count. Range: 40000-1500000",
+ "maximum": 1500000,
+ "minimum": 40000,
+ "type": "integer"
+ },
+ "generate_type": {
+ "default": "Normal",
+ "description": "Generation type. Normal: textured model. Geometry: white model without texture.",
+ "enum": [
+ "Normal",
+ "Geometry"
+ ],
+ "type": "string",
+ "disabled": true
+ },
+ "prompt": {
+ "description": "Text description of the 3D content to generate. Supports up to 1024 UTF-8 characters.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "enable_pbr",
+ "face_count",
+ "generate_type"
+ ]
+ },
+ "base/hunyuan3d-v3/image-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "back_image": {
+ "description": "Optional back view image URL for better 3D reconstruction.",
+ "type": "string"
+ },
+ "enable_pbr": {
+ "default": false,
+ "description": "Whether to enable PBR material generation",
+ "type": "boolean",
+ "disabled": true
+ },
+ "face_count": {
+ "default": 500000,
+ "description": "Target face count. Range: 40000-1500000",
+ "maximum": 1500000,
+ "minimum": 40000,
+ "type": "integer"
+ },
+ "generate_type": {
+ "default": "Normal",
+ "description": "Generation type. Normal: textured model. Geometry: white model without texture.",
+ "enum": [
+ "Normal",
+ "Geometry"
+ ],
+ "type": "string",
+ "disabled": true
+ },
+ "image": {
+ "description": "The URL where the file can be downloaded from.",
+ "type": "string"
+ },
+ "images": {
+ "description": "Up to 4 pictures of the same object, in the order front, left, back, right.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 1,
+ "type": "array",
+ "x-lu-views": [
+ "image",
+ "left_image",
+ "back_image",
+ "right_image"
+ ]
+ },
+ "left_image": {
+ "description": "Optional left view image URL for better 3D reconstruction.",
+ "type": "string"
+ },
+ "right_image": {
+ "description": "Optional right view image URL for better 3D reconstruction.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "images"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "images",
+ "image",
+ "back_image",
+ "left_image",
+ "right_image",
+ "enable_pbr",
+ "face_count",
+ "generate_type"
+ ]
+ },
+ "meshy/v7.1/text-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "animation_action_id": {
+ "default": 92,
+ "description": "Animation from the Meshy animation library applied when enable_animation is on.",
+ "type": "integer",
+ "disabled": true
+ },
+ "auto_size": {
+ "default": false,
+ "description": "Estimate the real-world size of the object and scale the model to it.",
+ "type": "boolean"
+ },
+ "enable_animation": {
+ "default": false,
+ "description": "Rig and animate the character with animation_action_id. The animated model is returned last.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "enable_pbr": {
+ "default": false,
+ "description": "Generate PBR maps (metallic, roughness, normal).",
+ "type": "boolean"
+ },
+ "enable_rigging": {
+ "default": false,
+ "description": "Rig the generated character (humanoids). The rigged model is returned after the model.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "geometry_resolution": {
+ "default": "standard",
+ "description": "Geometry detail: standard or Ultra (2k / 4k).",
+ "enum": [
+ "standard",
+ "2k",
+ "4k"
+ ],
+ "type": "string",
+ "x-ui-component": "select",
+ "disabled": true
+ },
+ "mode": {
+ "default": "full",
+ "description": "preview returns an untextured mesh; full also textures it.",
+ "enum": [
+ "preview",
+ "full"
+ ],
+ "type": "string",
+ "x-ui-component": "select",
+ "disabled": true
+ },
+ "model_type": {
+ "default": "standard",
+ "description": "smart-topology builds a clean low-poly mesh (Meshy T2.5); cheaper, no quad topology.",
+ "enum": [
+ "standard",
+ "smart-topology"
+ ],
+ "type": "string",
+ "x-ui-component": "select",
+ "disabled": true
+ },
+ "negative_prompt": {
+ "description": "What the model should avoid.",
+ "type": "string"
+ },
+ "pose_mode": {
+ "description": "Generate characters in an A-pose or T-pose (useful before rigging).",
+ "enum": [
+ "a-pose",
+ "t-pose"
+ ],
+ "type": "string",
+ "x-ui-component": "select",
+ "disabled": true
+ },
+ "prompt": {
+ "description": "Description of the 3D object. Up to 600 characters.",
+ "maxLength": 600,
+ "type": "string",
+ "x-ui-component": "textarea"
+ },
+ "remove_lighting": {
+ "description": "Remove baked-in lighting from the textures.",
+ "type": "boolean"
+ },
+ "rigging_height_meters": {
+ "default": 1.7,
+ "description": "Character height in meters used for rigging.",
+ "type": "number",
+ "disabled": true
+ },
+ "seed": {
+ "description": "Seed; the same seed and prompt give the same result.",
+ "type": "integer"
+ },
+ "should_remesh": {
+ "default": true,
+ "description": "Remesh to the target polycount and topology.",
+ "type": "boolean"
+ },
+ "symmetry_mode": {
+ "default": "auto",
+ "description": "No longer has an effect; kept for compatibility.",
+ "enum": [
+ "off",
+ "auto",
+ "on"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "target_polycount": {
+ "default": 30000,
+ "description": "Target number of polygons (used when should_remesh is on).",
+ "maximum": 300000,
+ "minimum": 100,
+ "type": "integer"
+ },
+ "texture_image": {
+ "description": "Optional reference image for the texture. Takes priority over texture_prompt.",
+ "type": "string"
+ },
+ "texture_prompt": {
+ "description": "Optional description of the texture.",
+ "type": "string"
+ },
+ "texture_resolution": {
+ "default": "2k",
+ "description": "Texture resolution: 2k, 4k or 8k (8k costs more).",
+ "enum": [
+ "2k",
+ "4k",
+ "8k"
+ ],
+ "type": "string",
+ "x-ui-component": "select",
+ "disabled": true
+ },
+ "topology": {
+ "default": "triangle",
+ "description": "Mesh topology.",
+ "enum": [
+ "triangle",
+ "quad"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "mode",
+ "negative_prompt",
+ "seed",
+ "model_type",
+ "geometry_resolution",
+ "texture_prompt",
+ "texture_image",
+ "enable_pbr",
+ "texture_resolution",
+ "topology",
+ "target_polycount",
+ "should_remesh",
+ "symmetry_mode",
+ "pose_mode",
+ "remove_lighting",
+ "auto_size",
+ "enable_rigging",
+ "rigging_height_meters",
+ "enable_animation",
+ "animation_action_id"
+ ]
+ },
+ "meshy/v7.1/image-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "animation_action_id": {
+ "default": 92,
+ "description": "Animation from the Meshy animation library applied when enable_animation is on.",
+ "type": "integer",
+ "disabled": true
+ },
+ "auto_size": {
+ "default": false,
+ "description": "Estimate the real-world size of the object and scale the model to it.",
+ "type": "boolean"
+ },
+ "enable_animation": {
+ "default": false,
+ "description": "Rig and animate the character with animation_action_id. The animated model is returned last.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "enable_pbr": {
+ "default": false,
+ "description": "Generate PBR maps (metallic, roughness, normal).",
+ "type": "boolean"
+ },
+ "enable_rigging": {
+ "default": false,
+ "description": "Rig the generated character (humanoids). The rigged model is returned after the model.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "geometry_resolution": {
+ "default": "standard",
+ "description": "Geometry detail: standard or Ultra (2k / 4k).",
+ "enum": [
+ "standard",
+ "2k",
+ "4k"
+ ],
+ "type": "string",
+ "x-ui-component": "select",
+ "disabled": true
+ },
+ "image": {
+ "description": "Image of the object (JPEG, PNG or WebP).",
+ "type": "string"
+ },
+ "image_enhancement": {
+ "description": "Enhance the input image before generation.",
+ "type": "boolean"
+ },
+ "model_type": {
+ "default": "standard",
+ "description": "smart-topology builds a clean low-poly mesh (Meshy T2.5); cheaper, no quad topology.",
+ "enum": [
+ "standard",
+ "smart-topology"
+ ],
+ "type": "string",
+ "x-ui-component": "select",
+ "disabled": true
+ },
+ "pose_mode": {
+ "description": "Generate characters in an A-pose or T-pose (useful before rigging).",
+ "enum": [
+ "a-pose",
+ "t-pose"
+ ],
+ "type": "string",
+ "x-ui-component": "select",
+ "disabled": true
+ },
+ "remove_lighting": {
+ "description": "Remove baked-in lighting from the textures.",
+ "type": "boolean"
+ },
+ "rigging_height_meters": {
+ "default": 1.7,
+ "description": "Character height in meters used for rigging.",
+ "type": "number",
+ "disabled": true
+ },
+ "should_remesh": {
+ "default": true,
+ "description": "Remesh to the target polycount and topology.",
+ "type": "boolean"
+ },
+ "should_texture": {
+ "default": true,
+ "description": "Texture the model. Turn off for an untextured mesh at a lower price.",
+ "type": "boolean"
+ },
+ "symmetry_mode": {
+ "default": "auto",
+ "description": "No longer has an effect; kept for compatibility.",
+ "enum": [
+ "off",
+ "auto",
+ "on"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "target_polycount": {
+ "default": 30000,
+ "description": "Target number of polygons (used when should_remesh is on).",
+ "maximum": 300000,
+ "minimum": 100,
+ "type": "integer"
+ },
+ "texture_image": {
+ "description": "Optional reference image for the texture. Takes priority over texture_prompt.",
+ "type": "string"
+ },
+ "texture_prompt": {
+ "description": "Optional description of the texture.",
+ "type": "string"
+ },
+ "texture_resolution": {
+ "default": "2k",
+ "description": "Texture resolution: 2k, 4k or 8k (8k costs more).",
+ "enum": [
+ "2k",
+ "4k",
+ "8k"
+ ],
+ "type": "string",
+ "x-ui-component": "select",
+ "disabled": true
+ },
+ "topology": {
+ "default": "triangle",
+ "description": "Mesh topology.",
+ "enum": [
+ "triangle",
+ "quad"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "model_type",
+ "geometry_resolution",
+ "should_texture",
+ "texture_prompt",
+ "texture_image",
+ "enable_pbr",
+ "texture_resolution",
+ "topology",
+ "target_polycount",
+ "should_remesh",
+ "symmetry_mode",
+ "pose_mode",
+ "remove_lighting",
+ "auto_size",
+ "image_enhancement",
+ "enable_rigging",
+ "rigging_height_meters",
+ "enable_animation",
+ "animation_action_id"
+ ]
+ },
+ "meshy/v7.1/multi-image-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "animation_action_id": {
+ "default": 92,
+ "description": "Animation from the Meshy animation library applied when enable_animation is on.",
+ "type": "integer",
+ "disabled": true
+ },
+ "auto_size": {
+ "default": false,
+ "description": "Estimate the real-world size of the object and scale the model to it.",
+ "type": "boolean"
+ },
+ "enable_animation": {
+ "default": false,
+ "description": "Rig and animate the character with animation_action_id. The animated model is returned last.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "enable_pbr": {
+ "default": false,
+ "description": "Generate PBR maps (metallic, roughness, normal).",
+ "type": "boolean"
+ },
+ "enable_rigging": {
+ "default": false,
+ "description": "Rig the generated character (humanoids). The rigged model is returned after the model.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "geometry_resolution": {
+ "default": "standard",
+ "description": "Geometry detail: standard or Ultra (2k).",
+ "enum": [
+ "standard",
+ "2k"
+ ],
+ "type": "string",
+ "x-ui-component": "select",
+ "disabled": true
+ },
+ "image_enhancement": {
+ "description": "Enhance the input image before generation.",
+ "type": "boolean"
+ },
+ "images": {
+ "description": "1 to 4 images of the same object from different angles.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 1,
+ "type": "array"
+ },
+ "pose_mode": {
+ "description": "Generate characters in an A-pose or T-pose (useful before rigging).",
+ "enum": [
+ "a-pose",
+ "t-pose"
+ ],
+ "type": "string",
+ "x-ui-component": "select",
+ "disabled": true
+ },
+ "remove_lighting": {
+ "description": "Remove baked-in lighting from the textures.",
+ "type": "boolean"
+ },
+ "rigging_height_meters": {
+ "default": 1.7,
+ "description": "Character height in meters used for rigging.",
+ "type": "number",
+ "disabled": true
+ },
+ "should_remesh": {
+ "default": true,
+ "description": "Remesh to the target polycount and topology.",
+ "type": "boolean"
+ },
+ "should_texture": {
+ "default": true,
+ "description": "Texture the model. Turn off for an untextured mesh at a lower price.",
+ "type": "boolean"
+ },
+ "symmetry_mode": {
+ "default": "auto",
+ "description": "No longer has an effect; kept for compatibility.",
+ "enum": [
+ "off",
+ "auto",
+ "on"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "target_polycount": {
+ "default": 30000,
+ "description": "Target number of polygons (used when should_remesh is on).",
+ "maximum": 300000,
+ "minimum": 100,
+ "type": "integer"
+ },
+ "texture_image": {
+ "description": "Optional reference image for the texture. Takes priority over texture_prompt.",
+ "type": "string"
+ },
+ "texture_prompt": {
+ "description": "Optional description of the texture.",
+ "type": "string"
+ },
+ "texture_resolution": {
+ "default": "2k",
+ "description": "Texture resolution: 2k, 4k or 8k (8k costs more).",
+ "enum": [
+ "2k",
+ "4k",
+ "8k"
+ ],
+ "type": "string",
+ "x-ui-component": "select",
+ "disabled": true
+ },
+ "topology": {
+ "default": "triangle",
+ "description": "Mesh topology.",
+ "enum": [
+ "triangle",
+ "quad"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ }
+ },
+ "required": [
+ "images"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "images",
+ "geometry_resolution",
+ "should_texture",
+ "texture_prompt",
+ "texture_image",
+ "enable_pbr",
+ "texture_resolution",
+ "topology",
+ "target_polycount",
+ "should_remesh",
+ "symmetry_mode",
+ "pose_mode",
+ "remove_lighting",
+ "auto_size",
+ "image_enhancement",
+ "enable_rigging",
+ "rigging_height_meters",
+ "enable_animation",
+ "animation_action_id"
+ ]
+ },
+ "tripo3d/p1/text-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "auto_size": {
+ "default": false,
+ "description": "Scale the model to real-world size in meters. Needs a textured model.",
+ "type": "boolean"
+ },
+ "delight": {
+ "default": true,
+ "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
+ "type": "boolean"
+ },
+ "export_uv": {
+ "default": true,
+ "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
+ "type": "boolean"
+ },
+ "face_limit": {
+ "description": "Maximum number of faces, 50 to 20,000. Omit for adaptive.",
+ "maximum": 20000,
+ "minimum": 50,
+ "type": "integer"
+ },
+ "image_seed": {
+ "description": "Seed for the text-to-image step.",
+ "type": "integer",
+ "x-hidden": true
+ },
+ "model_seed": {
+ "description": "Seed for the geometry: the same seed and input give the same mesh.",
+ "type": "integer"
+ },
+ "negative_prompt": {
+ "description": "What the model should avoid. Up to 255 characters.",
+ "maxLength": 255,
+ "type": "string"
+ },
+ "pbr": {
+ "default": true,
+ "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "prompt": {
+ "description": "Description of the 3D object: shape, material, style and scale. Up to 1024 characters.",
+ "maxLength": 1024,
+ "type": "string",
+ "x-ui-component": "textarea"
+ },
+ "texture": {
+ "default": true,
+ "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "texture_quality": {
+ "default": "standard",
+ "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
+ "enum": [
+ "standard",
+ "detailed",
+ "extreme",
+ "fast"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "texture_seed": {
+ "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
+ "type": "integer"
+ },
+ "texture_version": {
+ "default": "v3.0-20250812",
+ "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
+ "enum": [
+ "v3.0-20250812",
+ "v3.5-20260815"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "negative_prompt",
+ "image_seed",
+ "texture",
+ "pbr",
+ "texture_quality",
+ "texture_version",
+ "delight",
+ "face_limit",
+ "auto_size",
+ "export_uv",
+ "model_seed",
+ "texture_seed"
+ ]
+ },
+ "tripo3d/p1/image-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "auto_size": {
+ "default": false,
+ "description": "Scale the model to real-world size in meters. Needs a textured model.",
+ "type": "boolean"
+ },
+ "delight": {
+ "default": true,
+ "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
+ "type": "boolean"
+ },
+ "enable_image_autofix": {
+ "default": false,
+ "description": "Improve a low-quality source image before generation. Takes longer.",
+ "type": "boolean"
+ },
+ "export_uv": {
+ "default": true,
+ "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
+ "type": "boolean"
+ },
+ "face_limit": {
+ "description": "Maximum number of faces, 50 to 20,000. Omit for adaptive.",
+ "maximum": 20000,
+ "minimum": 50,
+ "type": "integer"
+ },
+ "image": {
+ "description": "Image of the object (PNG, JPEG or WebP, up to 20 MB). A clean background and little occlusion work best.",
+ "type": "string"
+ },
+ "model_seed": {
+ "description": "Seed for the geometry: the same seed and input give the same mesh.",
+ "type": "integer"
+ },
+ "orientation": {
+ "default": "default",
+ "description": "align_image rotates the model to the source image viewpoint (textured models only).",
+ "enum": [
+ "default",
+ "align_image"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "pbr": {
+ "default": true,
+ "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "texture": {
+ "default": true,
+ "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "texture_alignment": {
+ "default": "original_image",
+ "description": "What the texture follows: the source image colors or the generated geometry.",
+ "enum": [
+ "original_image",
+ "geometry"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "texture_quality": {
+ "default": "standard",
+ "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
+ "enum": [
+ "standard",
+ "detailed",
+ "extreme",
+ "fast"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "texture_seed": {
+ "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
+ "type": "integer"
+ },
+ "texture_version": {
+ "default": "v3.0-20250812",
+ "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
+ "enum": [
+ "v3.0-20250812",
+ "v3.5-20260815"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "texture",
+ "pbr",
+ "texture_quality",
+ "texture_version",
+ "delight",
+ "face_limit",
+ "texture_alignment",
+ "orientation",
+ "enable_image_autofix",
+ "auto_size",
+ "export_uv",
+ "model_seed",
+ "texture_seed"
+ ]
+ },
+ "tripo3d/p1/multiview-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "auto_size": {
+ "default": false,
+ "description": "Scale the model to real-world size in meters. Needs a textured model.",
+ "type": "boolean"
+ },
+ "delight": {
+ "default": true,
+ "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
+ "type": "boolean"
+ },
+ "enable_image_autofix": {
+ "default": false,
+ "description": "Improve a low-quality source image before generation. Takes longer.",
+ "type": "boolean"
+ },
+ "export_uv": {
+ "default": true,
+ "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
+ "type": "boolean"
+ },
+ "face_limit": {
+ "description": "Maximum number of faces, 50 to 20,000. Omit for adaptive.",
+ "maximum": 20000,
+ "minimum": 50,
+ "type": "integer"
+ },
+ "images": {
+ "description": "2 to 4 images of the same object, in the order front, left, back, right. The front view is required.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "model_seed": {
+ "description": "Seed for the geometry: the same seed and input give the same mesh.",
+ "type": "integer"
+ },
+ "orientation": {
+ "default": "default",
+ "description": "align_image rotates the model to the source image viewpoint (textured models only).",
+ "enum": [
+ "default",
+ "align_image"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "pbr": {
+ "default": true,
+ "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "texture": {
+ "default": true,
+ "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "texture_alignment": {
+ "default": "original_image",
+ "description": "What the texture follows: the source image colors or the generated geometry.",
+ "enum": [
+ "original_image",
+ "geometry"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "texture_quality": {
+ "default": "standard",
+ "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
+ "enum": [
+ "standard",
+ "detailed",
+ "extreme",
+ "fast"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "texture_seed": {
+ "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
+ "type": "integer"
+ },
+ "texture_version": {
+ "default": "v3.0-20250812",
+ "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
+ "enum": [
+ "v3.0-20250812",
+ "v3.5-20260815"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ }
+ },
+ "required": [
+ "images"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "images",
+ "texture",
+ "pbr",
+ "texture_quality",
+ "texture_version",
+ "delight",
+ "face_limit",
+ "texture_alignment",
+ "orientation",
+ "enable_image_autofix",
+ "auto_size",
+ "export_uv",
+ "model_seed",
+ "texture_seed"
+ ]
+ },
+ "tripo3d/p2/text-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "auto_size": {
+ "default": false,
+ "description": "Scale the model to real-world size in meters. Needs a textured model.",
+ "type": "boolean"
+ },
+ "delight": {
+ "default": true,
+ "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
+ "type": "boolean"
+ },
+ "export_uv": {
+ "default": true,
+ "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
+ "type": "boolean"
+ },
+ "face_limit": {
+ "description": "Maximum number of faces: 48 to 50,000 triangles, or 48 to 25,000 quads. Omit for adaptive; 150+ for simple objects, 250+ for complex ones.",
+ "maximum": 50000,
+ "minimum": 48,
+ "type": "integer"
+ },
+ "image_seed": {
+ "description": "Seed for the text-to-image step.",
+ "type": "integer",
+ "x-hidden": true
+ },
+ "model_seed": {
+ "description": "Seed for the geometry: the same seed and input give the same mesh.",
+ "type": "integer"
+ },
+ "negative_prompt": {
+ "description": "What the model should avoid. Up to 255 characters.",
+ "maxLength": 255,
+ "type": "string"
+ },
+ "pbr": {
+ "default": true,
+ "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "prompt": {
+ "description": "Description of the 3D object: shape, material, style and scale. Up to 1024 characters.",
+ "maxLength": 1024,
+ "type": "string",
+ "x-ui-component": "textarea"
+ },
+ "quad": {
+ "default": false,
+ "description": "Output a native quad mesh (FBX).",
+ "type": "boolean",
+ "disabled": true
+ },
+ "texture": {
+ "default": true,
+ "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "texture_quality": {
+ "default": "standard",
+ "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
+ "enum": [
+ "standard",
+ "detailed",
+ "extreme",
+ "fast"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "texture_seed": {
+ "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
+ "type": "integer"
+ },
+ "texture_version": {
+ "default": "v3.0-20250812",
+ "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
+ "enum": [
+ "v3.0-20250812",
+ "v3.5-20260815"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "negative_prompt",
+ "image_seed",
+ "texture",
+ "pbr",
+ "texture_quality",
+ "texture_version",
+ "delight",
+ "quad",
+ "face_limit",
+ "auto_size",
+ "export_uv",
+ "model_seed",
+ "texture_seed"
+ ]
+ },
+ "tripo3d/p2/image-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "auto_size": {
+ "default": false,
+ "description": "Scale the model to real-world size in meters. Needs a textured model.",
+ "type": "boolean"
+ },
+ "delight": {
+ "default": true,
+ "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
+ "type": "boolean"
+ },
+ "enable_image_autofix": {
+ "default": false,
+ "description": "Improve a low-quality source image before generation. Takes longer.",
+ "type": "boolean"
+ },
+ "export_uv": {
+ "default": true,
+ "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
+ "type": "boolean"
+ },
+ "face_limit": {
+ "description": "Maximum number of faces: 48 to 50,000 triangles, or 48 to 25,000 quads. Omit for adaptive; 150+ for simple objects, 250+ for complex ones.",
+ "maximum": 50000,
+ "minimum": 48,
+ "type": "integer"
+ },
+ "image": {
+ "description": "Image of the object (PNG, JPEG or WebP, up to 20 MB). A clean background and little occlusion work best.",
+ "type": "string"
+ },
+ "model_seed": {
+ "description": "Seed for the geometry: the same seed and input give the same mesh.",
+ "type": "integer"
+ },
+ "orientation": {
+ "default": "default",
+ "description": "align_image rotates the model to the source image viewpoint (textured models only).",
+ "enum": [
+ "default",
+ "align_image"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "pbr": {
+ "default": true,
+ "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "quad": {
+ "default": false,
+ "description": "Output a native quad mesh (FBX).",
+ "type": "boolean",
+ "disabled": true
+ },
+ "texture": {
+ "default": true,
+ "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "texture_alignment": {
+ "default": "original_image",
+ "description": "What the texture follows: the source image colors or the generated geometry.",
+ "enum": [
+ "original_image",
+ "geometry"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "texture_quality": {
+ "default": "standard",
+ "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
+ "enum": [
+ "standard",
+ "detailed",
+ "extreme",
+ "fast"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "texture_seed": {
+ "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
+ "type": "integer"
+ },
+ "texture_version": {
+ "default": "v3.0-20250812",
+ "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
+ "enum": [
+ "v3.0-20250812",
+ "v3.5-20260815"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "texture",
+ "pbr",
+ "texture_quality",
+ "texture_version",
+ "delight",
+ "quad",
+ "face_limit",
+ "texture_alignment",
+ "orientation",
+ "enable_image_autofix",
+ "auto_size",
+ "export_uv",
+ "model_seed",
+ "texture_seed"
+ ]
+ },
+ "tripo3d/p2/multiview-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "auto_size": {
+ "default": false,
+ "description": "Scale the model to real-world size in meters. Needs a textured model.",
+ "type": "boolean"
+ },
+ "delight": {
+ "default": true,
+ "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
+ "type": "boolean"
+ },
+ "enable_image_autofix": {
+ "default": false,
+ "description": "Improve a low-quality source image before generation. Takes longer.",
+ "type": "boolean"
+ },
+ "export_uv": {
+ "default": true,
+ "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
+ "type": "boolean"
+ },
+ "face_limit": {
+ "description": "Maximum number of faces: 48 to 50,000 triangles, or 48 to 25,000 quads. Omit for adaptive; 150+ for simple objects, 250+ for complex ones.",
+ "maximum": 50000,
+ "minimum": 48,
+ "type": "integer"
+ },
+ "images": {
+ "description": "2 to 4 images of the same object, in the order front, left, back, right. The front view is required.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "model_seed": {
+ "description": "Seed for the geometry: the same seed and input give the same mesh.",
+ "type": "integer"
+ },
+ "orientation": {
+ "default": "default",
+ "description": "align_image rotates the model to the source image viewpoint (textured models only).",
+ "enum": [
+ "default",
+ "align_image"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "pbr": {
+ "default": true,
+ "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "quad": {
+ "default": false,
+ "description": "Output a native quad mesh (FBX).",
+ "type": "boolean",
+ "disabled": true
+ },
+ "texture": {
+ "default": true,
+ "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "texture_alignment": {
+ "default": "original_image",
+ "description": "What the texture follows: the source image colors or the generated geometry.",
+ "enum": [
+ "original_image",
+ "geometry"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "texture_quality": {
+ "default": "standard",
+ "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
+ "enum": [
+ "standard",
+ "detailed",
+ "extreme",
+ "fast"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "texture_seed": {
+ "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
+ "type": "integer"
+ },
+ "texture_version": {
+ "default": "v3.0-20250812",
+ "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
+ "enum": [
+ "v3.0-20250812",
+ "v3.5-20260815"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ }
+ },
+ "required": [
+ "images"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "images",
+ "texture",
+ "pbr",
+ "texture_quality",
+ "texture_version",
+ "delight",
+ "quad",
+ "face_limit",
+ "texture_alignment",
+ "orientation",
+ "enable_image_autofix",
+ "auto_size",
+ "export_uv",
+ "model_seed",
+ "texture_seed"
+ ]
+ },
+ "hitem3d/hi3d-v3.0/image-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_pbr": {
+ "default": true,
+ "description": "Generate PBR material maps with the texture. Ignored when enable_texture is false.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "enable_texture": {
+ "default": true,
+ "description": "Generate textures in addition to the geometry mesh.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "export_format": {
+ "default": "glb",
+ "description": "File format of the generated 3D model.",
+ "enum": [
+ "glb",
+ "obj",
+ "stl",
+ "fbx",
+ "usdz"
+ ],
+ "type": "string",
+ "disabled": true
+ },
+ "face_count": {
+ "default": 2000000,
+ "description": "Optional target face count. Hi3D recommends 2,000,000 for 2048quality and 5,000,000 for 2048master.",
+ "maximum": 5000000,
+ "minimum": 100000,
+ "step": 1,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "image": {
+ "description": "Reference image for 3D model creation. PNG, JPEG, and WebP are supported, up to 20 MB.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "2048quality",
+ "description": "Generation quality tier. 2048quality is faster; 2048master provides the highest quality.",
+ "enum": [
+ "2048quality",
+ "2048master"
+ ],
+ "type": "string",
+ "disabled": true
+ },
+ "shading": {
+ "default": 0.5,
+ "description": "De-shading strength applied to the input image.",
+ "maximum": 1,
+ "minimum": 0,
+ "step": 0.1,
+ "type": "number",
+ "x-ui-component": "slider"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "resolution",
+ "enable_texture",
+ "enable_pbr",
+ "face_count",
+ "export_format",
+ "shading"
+ ]
+ },
+ "hitem3d/hi3d-v3.0/multi-view-to-3d": {
+ "additionalProperties": false,
+ "properties": {
+ "back_image": {
+ "description": "Optional back-view reference image, up to 20 MB.",
+ "type": "string"
+ },
+ "enable_pbr": {
+ "default": true,
+ "description": "Generate PBR material maps with the texture. Ignored when enable_texture is false.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "enable_texture": {
+ "default": true,
+ "description": "Generate textures in addition to the geometry mesh.",
+ "type": "boolean",
+ "disabled": true
+ },
+ "export_format": {
+ "default": "glb",
+ "description": "File format of the generated 3D model.",
+ "enum": [
+ "glb",
+ "obj",
+ "stl",
+ "fbx",
+ "usdz"
+ ],
+ "type": "string",
+ "disabled": true
+ },
+ "face_count": {
+ "default": 2000000,
+ "description": "Optional target face count. Hi3D recommends 2,000,000 for 2048quality and 5,000,000 for 2048master.",
+ "maximum": 5000000,
+ "minimum": 100000,
+ "step": 1,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "front_image": {
+ "description": "Front-view reference image. PNG, JPEG, and WebP are supported, up to 20 MB.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "images": {
+ "description": "2 to 4 pictures of the same object, in the order front, left, back, right.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array",
+ "x-lu-views": [
+ "front_image",
+ "left_image",
+ "back_image",
+ "right_image"
+ ]
+ },
+ "left_image": {
+ "description": "Optional left-view reference image, up to 20 MB.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "2048quality",
+ "description": "Generation quality tier. 2048quality is faster; 2048master provides the highest quality.",
+ "enum": [
+ "2048quality",
+ "2048master"
+ ],
+ "type": "string",
+ "disabled": true
+ },
+ "right_image": {
+ "description": "Optional right-view reference image, up to 20 MB.",
+ "type": "string"
+ },
+ "shading": {
+ "default": 0.5,
+ "description": "De-shading strength applied to the input images.",
+ "maximum": 1,
+ "minimum": 0,
+ "step": 0.1,
+ "type": "number",
+ "x-ui-component": "slider"
+ }
+ },
+ "required": [
+ "images"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "images",
+ "front_image",
+ "back_image",
+ "left_image",
+ "right_image",
+ "resolution",
+ "enable_texture",
+ "enable_pbr",
+ "face_count",
+ "export_format",
+ "shading"
+ ]
++ },
+ "base/openjutsu/character-swap": {
+ "additionalProperties": false,
+ "properties": {
+ "video": {
+ "type": "string",
+ "description": "URL of the source video. The people in it are replaced by your characters; the scene, motion and original audio are kept. Use a single shot with a person in the first frame. The output follows the video's length, up to 15 seconds."
+ },
+ "images": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "maxItems": 4,
+ "description": "URLs of the character pictures, one per person to replace (up to 4). With one picture and no roles, the most prominent person is replaced. With several, or with roles, only the people you describe are replaced and everyone else stays as filmed."
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "maxLength": 200
+ },
+ "maxItems": 4,
+ "description": "Optional. One short description per picture, in the same order, saying who it replaces, for example \"the woman in black on the left\"."
+ },
+ "resolution": {
+ "type": "string",
+ "enum": [
+ "480p",
+ "540p",
+ "768p",
+ "1080p"
+ ],
+ "default": "768p",
+ "x-ui-component": "select",
+ "description": "Output resolution. The price per second rises with it."
+ },
+ "seed": {
+ "type": "integer",
+ "description": "The random seed to use for the generation. A negative value means a random seed will be used."
+ }
+ },
+ "required": [
+ "video",
+ "images"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "video",
+ "images",
+ "roles",
+ "resolution",
+ "seed"
+ ]
+ },
+ "kwaivgi/kling-v3.0-pro/motion-control": {
+ "additionalProperties": false,
+ "properties": {
+ "character_orientation": {
+ "default": "video",
+ "description": "Generate the orientation of the characters in the video, which can be selected to match the image or the video.",
+ "enum": [
+ "image",
+ "video"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "element_list": {
+ "description": "Element reference list.",
+ "items": {
+ "properties": {
+ "element_id": {
+ "description": "Element ID returned by kwaivgi/kling-elements or kwaivgi/kling-elements-advanced.",
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "x-order-properties": [
+ "element_id"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "array"
+ },
+ "image": {
+ "description": "Supported image formats:.jpg /.jpeg /.png The size of the image file should not exceed 10MB, the width and height of the image should be no less than 300px, and the aspect ratio of the image should be between 1:2.5 and 2.5:1",
+ "type": "string"
+ },
+ "keep_original_sound": {
+ "default": true,
+ "description": "Whether to retain the original video sound",
+ "type": "boolean"
+ },
+ "negative_prompt": {
+ "description": "The negative prompt for the generation.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "video": {
+ "description": "The motion reference video. Supported formats: .mp4/.mov, up to 100MB, width and height between 340px and 3850px. Duration 3-30 seconds when character_orientation is \"video\", 3-10 seconds when it is \"image\"; longer videos are trimmed. The generated video length follows the reference video.",
+ "type": "string",
+ "x-hint": "When character_orientation is \u201dvideo\u201c: maximum 30 seconds,When character_orientation is \u201cimage\u201d: maximum 10 seconds."
+ }
+ },
+ "required": [
+ "image",
+ "video"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "video",
+ "element_list",
+ "character_orientation",
+ "prompt",
+ "negative_prompt",
+ "keep_original_sound"
+ ]
- },
- "google/nano-banana-pro/edit": {
- "additionalProperties": false,
- "properties": {
- "aspect_ratio": {
- "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
- "enum": [
- "1:1",
- "3:2",
- "2:3",
- "3:4",
- "4:3",
- "4:5",
- "5:4",
- "9:16",
- "16:9",
- "21:9"
- ],
- "type": "string",
- "x-placeholder": "Select aspect ratio"
- },
- "enable_base64_output": {
- "default": false,
- "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
- "disabled": true,
- "type": "boolean"
- },
- "enable_sync_mode": {
- "default": false,
- "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
- "disabled": true,
- "type": "boolean"
- },
- "images": {
- "description": "List of URLs of input images for editing. The maximum number of images is 14.",
- "items": {
- "type": "string"
- },
- "maxItems": 14,
- "type": "array"
- },
- "output_format": {
- "default": "png",
- "description": "The format of the output image.",
- "enum": [
- "png",
- "jpeg"
- ],
- "type": "string"
- },
- "prompt": {
- "description": "The positive prompt for the generation.",
- "type": "string"
- },
- "resolution": {
- "default": "1k",
- "description": "The resolution of the output image.",
- "enum": [
- "1k",
- "2k",
- "4k"
- ],
- "type": "string"
- }
- },
- "required": [
- "prompt",
- "images"
- ],
- "type": "object",
- "x-order-properties": [
- "prompt",
- "images",
- "aspect_ratio",
- "resolution",
- "output_format",
- "enable_sync_mode",
- "enable_base64_output"
- ]
}
}
diff --cc src/lib/render/studio-contract.ts
index cb8b8aef,540c81fe..c60a8bea
--- a/src/lib/render/studio-contract.ts
+++ b/src/lib/render/studio-contract.ts
@@@ -2,8 -2,7 +2,8 @@@
import definitions from './studio-models.json'
import schemas from './provider-schemas.json'
import endpoints from './provider-endpoints.json'
-export type Schema = { type?: string; properties?: Record<string, Schema>; required?: string[]; enum?: unknown[]; default?: unknown; minimum?: number; maximum?: number; minItems?: number; maxItems?: number; maxLength?: number; items?: Schema; description?: string; disabled?: boolean; format?: string }
+import { isRetiredMediaModel } from './retired-models'
- export type Schema = { type?: string; properties?: Record<string, Schema>; required?: string[]; enum?: unknown[]; default?: unknown; minimum?: number; maximum?: number; minItems?: number; maxItems?: number; items?: Schema; description?: string; disabled?: boolean; format?: string; 'x-lu-views'?: string[] }
++export type Schema = { type?: string; properties?: Record<string, Schema>; required?: string[]; enum?: unknown[]; default?: unknown; minimum?: number; maximum?: number; minItems?: number; maxItems?: number; maxLength?: number; items?: Schema; description?: string; disabled?: boolean; format?: string; 'x-lu-views'?: string[] }
// Stufe und Herkunft jedes Cloud-Modells (02.10.2026, Entscheid des Inhabers).
// `tier` ordnet die Waehler: 'best' steht oben, 'older' gesammelt unten.
// `weights` sagt, ob genau diese Version offene Gewichte hat ('open'), nur ihre
@@@ -25,40 -20,17 +25,44 @@@ export interface StudioModel
// auf Sekunden, `blockSeconds` bildet einen angefangenen Block ab (ElevenLabs
// rechnet je angefangene Minute), `minSeconds` die Mindestlaenge einer
// gemessenen Eingabe. Alle vier sind an POST /model/price gemessen.
- price: { mode: string; rates: Record<string, number>; maxSeconds?: number; extraImage?: number
+ // `perReference` (wie im Web, 03.11.2026): jedes Bild der Bilderliste kostet
+ // extra, auch das erste, weil das Video die Vorlage ist und kein Bild
+ // (Swap Character: 0,02 $ je Person). Gezaehlt werden die Bilder, die der
+ // Lauf wirklich schickt.
+ price: { mode: string; rates: Record<string, number>; maxSeconds?: number; extraImage?: number; perReference?: number
resolutionField?: string; durationField?: string; unitDivisor?: number; blockSeconds?: number; minSeconds?: number
- perUnitField?: string }
+ perUnitField?: string
+ // `qualityField` (29.10.2026, GPT Image 2, web catalogue): the price hangs
+ // on two fields, resolution and quality. The rate then stands under
+ // "<resolution>/<quality>".
+ qualityField?: string
+ // `extraViews` (14.11.2026, Hunyuan3D 3): one flat surcharge as soon as a
+ // run has more than one picture, however many further sides it has.
+ extraViews?: number }
+ // `maxSide` (08.11.2026, web catalogue): the longest side in pixels the
+ // upstream renders where its schema does not say so. A larger size is scaled
+ // down to fit with its aspect kept (fitSize), it is never refused.
+ maxSide?: number
+}
+/** Every studio model, the retired ones included (retired-models.ts, from the
+ * web): their schema, price and name stay resolvable for old runs and saved
+ * picks. */
+export const STUDIO_MODELS_WITH_RETIRED = definitions as Record<string, StudioModel>
+/** The studio models on offer. Every picker, role and list reads this. */
+export const STUDIO_MODELS: Record<string, StudioModel> = Object.fromEntries(
+ Object.entries(STUDIO_MODELS_WITH_RETIRED).filter(([id]) => !isRetiredMediaModel(id)),
+)
+/** A studio model the catalogue marks `unmeasured` (14.11.2026, 3.1.0): its
+ * price and filter are not checked by a paid run yet, so no picker, role or
+ * list shows it. Unless the live catalogue entry carries `unmeasured: true`:
+ * the server sends that only while its switch for the paid measurement
+ * (NEXT_PUBLIC_SHOW_UNMEASURED_MODELS on the web) is on. An older server that
+ * lists such a model without the mark does not put it in front of anyone. */
+export function unmeasuredHidden(entry: { id: string; unmeasured?: boolean }): boolean {
+ return STUDIO_MODELS_WITH_RETIRED[entry.id]?.unmeasured === true && entry.unmeasured !== true
}
-export const STUDIO_MODELS = definitions as Record<string, StudioModel>
export function studioSchema(id: string): Schema {
- const model = STUDIO_MODELS[id]
+ const model = STUDIO_MODELS_WITH_RETIRED[id]
if (!model) throw new Error('Unknown studio model')
return (schemas as Record<string, Schema>)[model.endpoint]
}
@@@ -179,10 -111,9 +183,10 @@@ export function studioOptions(id: strin
for (const k of schema.required ?? []) if (!m.inputs[k] && k !== promptField && options[k] === undefined) throw new Error(`Missing ${k}`)
return options
}
- export function studioCredits(id: string, options: Record<string,unknown>, measuredSeconds?: number, imageCount = 1, promptLength = 100): number {
+ export function studioCredits(id: string, options: Record<string,unknown>, measuredSeconds?: number, imageCount = 1, promptLength = 100, referenceCount = 0): number {
- const m = STUDIO_MODELS[id]; if (!m) throw new Error('Unknown studio model')
- const resolution = String(options[m.price.resolutionField ?? 'resolution'] ?? 'default'), rate = m.price.rates[resolution]
+ const m = STUDIO_MODELS_WITH_RETIRED[id]; if (!m) throw new Error('Unknown studio model')
+ const resolution = String(options[m.price.resolutionField ?? 'resolution'] ?? 'default')
+ const rate = m.price.rates[m.price.qualityField ? `${resolution}/${String(options[m.price.qualityField])}` : resolution]
if (rate === undefined) throw new Error('Unpriced resolution')
let seconds = m.price.mode === 'characters' ? Math.max(1,promptLength/100) : 1
if (m.price.mode === 'output') {
@@@ -210,14 -141,12 +214,14 @@@
// Ein abgeschaltetes Feld (num_images) fehlt in den Optionen: der Anbieter nimmt dann seinen Standard 1.
const units = m.price.perUnitField ? Number(options[m.price.perUnitField] ?? 1) : 1
if (!Number.isFinite(units) || units <= 0) throw new Error('Invalid size')
- return Math.ceil((rate * seconds * units + (m.price.extraImage ?? 0) * Math.max(0,imageCount-1) + (imageCount > 1 ? m.price.extraViews ?? 0 : 0)) * 100000 - 1e-8)
- return Math.ceil((rate * seconds * units + (m.price.extraImage ?? 0) * Math.max(0,imageCount-1) + (m.price.perReference ?? 0) * referenceCount) * 100000 - 1e-8)
++ return Math.ceil((rate * seconds * units + (m.price.extraImage ?? 0) * Math.max(0,imageCount-1) + (imageCount > 1 ? m.price.extraViews ?? 0 : 0) + (m.price.perReference ?? 0) * referenceCount) * 100000 - 1e-8)
}
export function studioBaseCredits(id: string): number {
- const schema = studioSchema(id), m = STUDIO_MODELS[id]
+ const schema = studioSchema(id), m = STUDIO_MODELS_WITH_RETIRED[id]
const options: Record<string, unknown> = { ...m.defaults }
- for (const [key, s] of Object.entries(schema.properties ?? {})) if (!(key in options) && s.default !== undefined) options[key] = s.default
+ // A disabled field never goes out (14.11.2026): the provider takes its own
+ // default, which the run's price already is (Hi3D's resolution).
+ for (const [key, s] of Object.entries(schema.properties ?? {})) if (!(key in options) && s.default !== undefined && !s.disabled) options[key] = s.default
return studioCredits(id,options,5)
}
diff --cc src/lib/render/studio-models.json
index 1fb47d4b,17caff97..0c27a2aa
--- a/src/lib/render/studio-models.json
+++ b/src/lib/render/studio-models.json
@@@ -1275,10 -1347,10 +1352,12 @@@
"768p": 0.2,
"1080p": 0.4
},
-- "maxSeconds": 15
++ "maxSeconds": 15,
++ "perReference": 0.02
},
"inputs": {
-- "video": "video_path"
++ "video": "video_path",
++ "reference_images": "image_paths"
},
"defaults": {
"resolution": "480p"
diff --cc src/mobile/screens/create/parts/ui.tsx
index e1752f8e,3d18364e..41768e39
--- a/src/mobile/screens/create/parts/ui.tsx
+++ b/src/mobile/screens/create/parts/ui.tsx
@@@ -38,7 -37,8 +38,9 @@@ export const TOOL_ICON: Record<ToolId,
music: Music,
extend: FastForward,
motion: PersonStanding,
+ '3d': Box,
+ // Not a phone tool (tools.ts TOOLS leaves it out); the type names every intent.
+ swap_character: RefreshCw,
}
/** The small round X on a thumbnail. Its target is 44 px, the mark is 22 px. */
diff --cc src/mobile/strings/create.ts
index 7fe94100,a31d3c56..4e91298a
--- a/src/mobile/strings/create.ts
+++ b/src/mobile/strings/create.ts
@@@ -78,11 -77,12 +78,17 @@@ const TOOL: Record<CreateIntent, ToolTe
empty: 'Add a portrait and a video. The portrait moves like the person in the video.',
show: 'Move a figure from a photo the way someone moves in a video.',
},
+ '3d': {
+ name: '3D model', short: '3D', placeholder: 'Describe one object',
+ empty: 'Describe an object, or add a photo or a short video of one.',
+ show: 'Turn words, a photo or a short video into a 3D model you can spin around.',
+ },
+ // Not a phone tool (TOOLS leaves it out); the type names every intent.
+ swap_character: {
+ name: 'Swap Character', short: 'Swap', placeholder: '',
+ empty: 'Add a video and a photo of the new person.',
+ show: 'Put a new person into a real video. Same moves, same scene.',
+ },
}
/** A getter here is a text in two wordings; the store switches of the build pick one (policy/gates.ts). */
diff --cc src/stores/createStore.ts
index a670332c,4b7bb83d..d78c78f1
--- a/src/stores/createStore.ts
+++ b/src/stores/createStore.ts
@@@ -110,15 -108,31 +110,38 @@@ export const LOCAL_UTILITY_OPS: Readonl
* Character-Studio (LoRA training + generation), talking character (lipsync),
* music, video extend and motion control. Like `utilityOp`, an escape hatch
* over the image/video mode axis: when set it wins the intent derivation. */
- export type CloudOp = 'character' | 'lipsync' | 'music' | 'extend' | 'motion' | '3d'
-export type CloudOp = 'character' | 'lipsync' | 'music' | 'extend' | 'motion' | 'swap_character'
++export type CloudOp = 'character' | 'lipsync' | 'music' | 'extend' | 'motion' | '3d' | 'swap_character'
+
+// The three ways and the Detail step of the 3D tab (3.1.0) live in
+// lib/three/three-d-types.ts, so the 3D texts need not import the store.
+import type { ThreeDWay, ThreeDDetail } from '../lib/three/three-d-types'
+export type { ThreeDWay, ThreeDDetail }
+/** The local 3D models of a Mac (lib/mac-3d.ts, MAC_3D_MODELS). */
+export type ThreeDMacModel = 'triposr' | 'sf3d'
+ /** A new person for Swap Character (07.11.2026): the photo, and who it
+ * replaces when several people are in the video ("the woman on the left"). */
+ export interface SwapFigure {
+ image: ImageRef | null
+ role: string
+ /** Where the customer tapped this person in the first frame (0 to 1). */
+ mark?: { x: number; y: number } | null
+ /** The character of the Character area this person becomes, by name, so
+ * the row says "→ Bean". Unset for a photo picked by hand. */
+ character?: string | null
+ }
+
+ /** Swap Character in two steps (14.11.2026, as on the web): the first frame
+ * of the video, drawn in the WebView. */
+ export interface SwapFrame { url: string; width: number; height: number; videoUrl: string }
+
+ /** The built first frame with the new people: a run of its own. `key` are the
+ * inputs it came from (lib/render/swap.ts, swapFrameKey); once they no longer
+ * match, it has expired. */
+ export interface SwapBuilt { jobId: string; url: string; key: string; confirmed: boolean }
+
+ const ONE_FIGURE: SwapFigure[] = [{ image: null, role: '' }]
+
/** Which of the specialized categories ALSO run on the local ComfyUI backend
* (2.5.8 local lanes: ACE music, Wan S2V talking character, last-frame-chain
* extend, Wan VACE/Animate motion). Single source of truth for the intent