@slatesvideo/shared 0.7.4 → 0.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/manual/content.d.ts +1 -1
- package/dist/manual/content.js +1 -1
- package/dist/operations/index.d.ts +0 -2
- package/dist/operations/index.js +11 -15
- package/dist/prompts/agent-doctrine.js +25 -25
- package/dist/prompts/model-facts.js +2 -2
- package/dist/prompts/partials.generated.js +1 -1
- package/dist/prompts/prompting-tips.js +2 -2
- package/dist/skills/content.js +17 -17
- package/exports/slates-prompt-builder/generated/reference-character.md +2 -2
- package/exports/slates-prompt-builder/generated/reference-content-policy.md +3 -3
- package/exports/slates-prompt-builder/generated/reference-gpt-image-2-5.md +5 -5
- package/exports/slates-prompt-builder/generated/reference-kling.md +5 -6
- package/exports/slates-prompt-builder/generated/reference-omni-flash.md +1 -1
- package/exports/slates-prompt-builder/generated/reference-seedance-2-5.md +18 -18
- package/exports/slates-prompt-builder/generated/reference-seedance.md +3 -4
- package/exports/slates-prompt-builder/generated/slates-prompt-builder-manifest.json +25 -25
- package/exports/slates-prompt-builder/generated/slates-prompt-builder.skill +0 -0
- package/package.json +1 -1
- package/skills/_partials/model-routing.md +2 -2
- package/skills/slates-character-identity.md +2 -2
- package/skills/slates-content-policy.md +3 -3
- package/skills/slates-model-selection.md +4 -4
- package/skills/slates-prompting-elevenlabs.md +1 -1
- package/skills/slates-prompting-flux-2-max.md +1 -2
- package/skills/slates-prompting-gpt-image-2-5.md +6 -6
- package/skills/slates-prompting-inworld-tts.md +1 -1
- package/skills/slates-prompting-kling-v3.md +4 -5
- package/skills/slates-prompting-lip-sync.md +5 -8
- package/skills/slates-prompting-ltx-2-5.md +4 -4
- package/skills/slates-prompting-minimax-h3.md +6 -6
- package/skills/slates-prompting-motion-transfer.md +2 -4
- package/skills/slates-prompting-omni-flash.md +1 -1
- package/skills/slates-prompting-seed-audio.md +1 -1
- package/skills/slates-prompting-seedance-2-5.md +22 -22
- package/skills/slates-prompting-seedance.md +10 -11
- package/skills/slates-prompting-seedream-5-lite.md +2 -3
|
@@ -755,7 +755,6 @@ export declare const generateLipSync: Operation<{
|
|
|
755
755
|
ttsSpeed?: number;
|
|
756
756
|
audioFilePath?: string;
|
|
757
757
|
avatarModel?: 'avatar-standard' | 'avatar-pro';
|
|
758
|
-
klingProvider?: 'fal' | 'kling';
|
|
759
758
|
background?: boolean;
|
|
760
759
|
confirm?: boolean;
|
|
761
760
|
}>;
|
|
@@ -766,7 +765,6 @@ export declare const generateMotionTransfer: Operation<{
|
|
|
766
765
|
motionModel?: 'kling-mc-std' | 'kling-mc-pro';
|
|
767
766
|
characterOrientation?: 'video' | 'image';
|
|
768
767
|
prompt?: string;
|
|
769
|
-
klingProvider?: 'fal' | 'kling';
|
|
770
768
|
background?: boolean;
|
|
771
769
|
confirm?: boolean;
|
|
772
770
|
}>;
|
package/dist/operations/index.js
CHANGED
|
@@ -767,7 +767,7 @@ export const setComposer = {
|
|
|
767
767
|
.string()
|
|
768
768
|
.min(1)
|
|
769
769
|
.optional()
|
|
770
|
-
.describe('A model id (slates_list_available_models), `<id>::face` for
|
|
770
|
+
.describe('A model id (slates_list_available_models), `<id>::face` for its Face row, `chatgpt`, `lip-sync` or `motion-transfer`.'),
|
|
771
771
|
prompt: z.string().optional().describe('Replaces the words. @name and #name attach what they name, as typing does.'),
|
|
772
772
|
addMentions: z
|
|
773
773
|
.array(z.string().regex(/^[@#]\S+$/))
|
|
@@ -1156,8 +1156,8 @@ export const estimateGenerationCost = {
|
|
|
1156
1156
|
quality: z.enum(GPT_QUALITY_TIERS).optional().describe(`GPT Image tier; default ${DEFAULT_GPT_QUALITY}.`),
|
|
1157
1157
|
aspectRatio: z.string().optional().describe('GPT Image only: 1:1, 4:3 and 3:4 cost more than 16:9.'),
|
|
1158
1158
|
sound: z.boolean().optional().describe('Kling 3.0: the audio flag changes the cost key. Omitted means sound on, as generation bills it; pass false to price a silent take. Kling 4K keys include audio.'),
|
|
1159
|
-
seedanceFace: z.boolean().optional().describe('Seedance AI
|
|
1160
|
-
seedanceRealFace: z.boolean().optional().describe('Seedance consented real
|
|
1159
|
+
seedanceFace: z.boolean().optional().describe('Seedance Face row, for an AI character\'s face (pricier key).'),
|
|
1160
|
+
seedanceRealFace: z.boolean().optional().describe('Seedance with a consented real person (premium key).'),
|
|
1161
1161
|
videoRefSeconds: z.number().nonnegative().optional().describe('Combined reference-video seconds, measured from the clips.'),
|
|
1162
1162
|
audioRefSeconds: z.number().nonnegative().optional().describe('Combined reference-audio seconds, including attached character voices.'),
|
|
1163
1163
|
referenceImages: z.number().int().min(0).optional().describe(`MiniMax H3 rows only — how many reference IMAGES the generation will carry. Each image past the row's free allowance is a paid dimension of the cost key, so a quote that omits this UNDER-REPORTS a reference-heavy job. The allowances differ: minimax-h3 gives ${MINIMAX_FREE_REF_IMAGES_BY_MODEL['minimax-h3']} free, minimax-h3-max gives ${MINIMAX_FREE_REF_IMAGES_BY_MODEL['minimax-h3-max']}. Ignored by every other model. Start/end frames are free on both rows and are not reference images.`),
|
|
@@ -2417,7 +2417,7 @@ export const generateImage = {
|
|
|
2417
2417
|
return ok({
|
|
2418
2418
|
requires_clarification: true,
|
|
2419
2419
|
missing: ['projectId'],
|
|
2420
|
-
message: `count above ${HEADLESS_BATCH_CAP} needs a projectId. The headless path asks
|
|
2420
|
+
message: `count above ${HEADLESS_BATCH_CAP} needs a projectId. The headless path asks for one batch and nano-banana-2 caps a batch at ${HEADLESS_BATCH_CAP}; with a projectId the desktop fires them as separate generations and the limit is ${MAX_IMAGE_VARIATIONS}.`,
|
|
2421
2421
|
});
|
|
2422
2422
|
}
|
|
2423
2423
|
let refEcho = '';
|
|
@@ -3393,9 +3393,9 @@ export const generateVideo = {
|
|
|
3393
3393
|
sound: z.boolean().optional().describe('Kling (every tier) and LTX: sound on (default) or silent (false); Kling bills audio as its own key. Seedance, Omni Flash and H3 always generate audio.'),
|
|
3394
3394
|
audioLanguage: z.enum(['EN', 'ZH', 'JA', 'KO', 'ES']).optional().describe('Any Kling model with sound on — language for dialogue.'),
|
|
3395
3395
|
generateMusic: z.boolean().optional().describe('Any Kling model with sound on — auto-generate background music.'),
|
|
3396
|
-
seedanceFace: z.boolean().optional().describe('Seedance ONLY: a reference shows an AI CHARACTER\'s face.
|
|
3397
|
-
seedanceRealFace: z.boolean().optional().describe('Seedance ONLY: a reference shows a REAL person.
|
|
3398
|
-
realFaceConsent: z.boolean().optional().describe('MANDATORY with seedanceRealFace: true ONLY after the user has explicitly confirmed they hold rights/consent to this likeness and it does not impersonate or misrepresent them. Refused without it; public figures fail on every
|
|
3396
|
+
seedanceFace: z.boolean().optional().describe('Seedance ONLY: a reference shows an AI CHARACTER\'s face. Without it, faces are blocked; with it the generation costs ~45% more. A REAL person fails here with [REAL_FACE_DETECTED] — see seedanceRealFace.'),
|
|
3397
|
+
seedanceRealFace: z.boolean().optional().describe('Seedance ONLY: a reference shows a REAL person. The real-person tier, about 1.4x the Face price (about 2x faceless) — quote it first. REQUIRES realFaceConsent=true.'),
|
|
3398
|
+
realFaceConsent: z.boolean().optional().describe('MANDATORY with seedanceRealFace: true ONLY after the user has explicitly confirmed they hold rights/consent to this likeness and it does not impersonate or misrepresent them. Refused without it; public figures fail on every tier.'),
|
|
3399
3399
|
negativePrompt: z.string().optional(),
|
|
3400
3400
|
background: z.boolean().optional().describe(BACKGROUND_DESCRIBE),
|
|
3401
3401
|
confirm: z.boolean().optional().describe('Set true after explicit user OK to bypass the confirm gate (which fires for almost every video gen since they\'re expensive).'),
|
|
@@ -3701,7 +3701,7 @@ export const generateVideo = {
|
|
|
3701
3701
|
return ok({
|
|
3702
3702
|
requires_clarification: true,
|
|
3703
3703
|
missing: ['videoReferenceSeconds'],
|
|
3704
|
-
message: 'A Seedance video reference bills on combined input+output seconds (on 2.5
|
|
3704
|
+
message: 'A Seedance video reference bills on combined input+output seconds (on a 2.5 Face row, max(input, output) + output). Pass videoReferenceSeconds (the reference clip\'s duration, shown in slates_list_assets) so the pre-flight quote matches the bill.',
|
|
3705
3705
|
});
|
|
3706
3706
|
}
|
|
3707
3707
|
const pluralRefCount = input.videoReferenceAssetIds?.length ?? 0;
|
|
@@ -3710,7 +3710,7 @@ export const generateVideo = {
|
|
|
3710
3710
|
return ok({
|
|
3711
3711
|
requires_clarification: true,
|
|
3712
3712
|
missing: ['videoReferenceSecondsEach'],
|
|
3713
|
-
message: `A Seedance video reference bills on combined input+output seconds (on 2.5
|
|
3713
|
+
message: `A Seedance video reference bills on combined input+output seconds (on a 2.5 Face row, max(input, output) + output). Pass videoReferenceSecondsEach with exactly ${pluralRefCount} duration${pluralRefCount === 1 ? '' : 's'}, in the same order as videoReferenceAssetIds (durations are shown in slates_list_assets), so the pre-flight quote matches the bill.`,
|
|
3714
3714
|
});
|
|
3715
3715
|
}
|
|
3716
3716
|
const cloud = ctx.cloud();
|
|
@@ -4224,7 +4224,6 @@ export const generateLipSync = {
|
|
|
4224
4224
|
ttsSpeed: z.number().min(0.5).max(2).optional().describe('TTS speech rate. Default 1.0. Range 0.5-2.0.'),
|
|
4225
4225
|
audioFilePath: z.string().optional().describe('Required when audioMethod=upload. Absolute path to the audio file on the user\'s machine (mp3, wav, m4a).'),
|
|
4226
4226
|
avatarModel: z.enum(['avatar-standard', 'avatar-pro']).optional().describe('Image-source only. avatar-standard (~14 credits/5s) for general use. avatar-pro (~29 credits/5s) for sharper face fidelity.'),
|
|
4227
|
-
klingProvider: z.enum(['fal', 'kling']).optional().describe('Provider routing. Leave unset: all agent generations bill Slates credits (BYOK is retired).'),
|
|
4228
4227
|
background: z.boolean().optional().describe(BACKGROUND_DESCRIBE),
|
|
4229
4228
|
confirm: z.boolean().optional().describe('Set true to bypass the confirm gate. Required for avatar-pro.'),
|
|
4230
4229
|
}),
|
|
@@ -4295,7 +4294,6 @@ export const generateLipSync = {
|
|
|
4295
4294
|
ttsSpeed: input.ttsSpeed,
|
|
4296
4295
|
audioFilePath: input.audioFilePath,
|
|
4297
4296
|
avatarModel: input.avatarModel,
|
|
4298
|
-
klingProvider: input.klingProvider,
|
|
4299
4297
|
// No estimatedCost: the desktop prices the media itself, in dollars.
|
|
4300
4298
|
// This op's figure is CREDITS, which a 1.5.8 desktop recorded as dollars.
|
|
4301
4299
|
background: input.background,
|
|
@@ -4344,7 +4342,6 @@ export const generateMotionTransfer = {
|
|
|
4344
4342
|
motionModel: z.enum(['kling-mc-std', 'kling-mc-pro']).optional().describe('kling-mc-std general motion; kling-mc-pro cleaner anatomy — default. Quote both with slates_estimate_generation_cost.'),
|
|
4345
4343
|
characterOrientation: z.enum(['video', 'image']).optional().describe('"video" = use the source video\'s framing. "image" = use the target image\'s framing. Default video.'),
|
|
4346
4344
|
prompt: z.string().optional().describe('Optional refinement. Read slates-prompting-motion-transfer.'),
|
|
4347
|
-
klingProvider: z.enum(['fal', 'kling']).optional().describe('Provider routing. "fal" (default) uses Slates credits.'),
|
|
4348
4345
|
background: z.boolean().optional().describe(BACKGROUND_DESCRIBE),
|
|
4349
4346
|
confirm: z.boolean().optional().describe('Set true to bypass the confirm gate. Required — both tiers exceed.'),
|
|
4350
4347
|
}),
|
|
@@ -4398,7 +4395,6 @@ export const generateMotionTransfer = {
|
|
|
4398
4395
|
motionModel,
|
|
4399
4396
|
characterOrientation: input.characterOrientation ?? 'video',
|
|
4400
4397
|
prompt: input.prompt,
|
|
4401
|
-
klingProvider: input.klingProvider,
|
|
4402
4398
|
// No estimatedCost: the desktop prices the media itself, in dollars.
|
|
4403
4399
|
// This op's figure is CREDITS, which a 1.5.8 desktop recorded as dollars.
|
|
4404
4400
|
background: input.background,
|
|
@@ -4463,7 +4459,7 @@ export const editVideo = {
|
|
|
4463
4459
|
styleAssetIds: z.array(z.string()).max(4).optional().describe('Style/appearance reference images (@ImageN). Max 4 combined with characterAssetIds. KLING MODELS ONLY — rejected on omni-flash-edit.'),
|
|
4464
4460
|
keepAudio: z.boolean().optional().describe('Preserve the original audio track (default true; Kling models only — omni-flash-edit and seedance-2.5-edit output carry their own audio).'),
|
|
4465
4461
|
videoResolution: zEnum(EDIT_VIDEO_RESOLUTIONS).optional().describe(`seedance-2.5-edit ONLY (default ${defaultVideoResolutionFor('seedance-2.5-edit')}). Ignored by the Kling and Omni Flash engines, whose output follows the source clip.`),
|
|
4466
|
-
seedanceFace: z.boolean().optional().describe('seedance-2.5-edit ONLY: set true when a CHARACTER FACE is visible in the clip.
|
|
4462
|
+
seedanceFace: z.boolean().optional().describe('seedance-2.5-edit ONLY: set true when a CHARACTER FACE is visible in the clip. Without it a face is blocked outright; with it the edit costs about 40-50% more. A face edit submitted without this flag is rejected, not silently downgraded.'),
|
|
4467
4463
|
background: z.boolean().optional().describe(BACKGROUND_DESCRIBE),
|
|
4468
4464
|
confirm: z.boolean().optional().describe('Set true to bypass the cost confirm gate after the user OKs the spend.'),
|
|
4469
4465
|
folderId: folderIdField,
|
|
@@ -5637,7 +5633,7 @@ function shotParamsShape(described) {
|
|
|
5637
5633
|
imageQuantity: d(z.number().int().min(1).max(10).optional(), 'Image models only.'),
|
|
5638
5634
|
negativePrompt: z.string().optional(),
|
|
5639
5635
|
sound: d(z.boolean().optional(), 'Video models that co-generate audio.'),
|
|
5640
|
-
seedanceFace: d(z.boolean().optional(), "Seedance only — a reference shows an AI character's FACE;
|
|
5636
|
+
seedanceFace: d(z.boolean().optional(), "Seedance only — a reference shows an AI character's FACE; without it faces are blocked, and it costs ~45% more."),
|
|
5641
5637
|
audioDurationSeconds: d(z.number().int().min(1).max(120).optional(), 'Audio lane. On seed-audio the requested duration IS the bill.'),
|
|
5642
5638
|
// The TTS voice — the same three fields slates_generate_audio takes, so a
|
|
5643
5639
|
// Shot is the audio call, serialized. Exactly one of them, enforced at fire.
|
|
@@ -78,15 +78,15 @@ export function buildSkillIndex() {
|
|
|
78
78
|
// current project — sits here; the sections below expand it for clients that
|
|
79
79
|
// read everything. mcp-instructions-smoke asserts these lines land inside the
|
|
80
80
|
// cut when UPDATE AVAILABLE follows the first doctrine paragraph.
|
|
81
|
-
const PREAMBLE = fork(`You are the Slates Studio Agent — a production assistant living inside Slates, the AI video creation studio. Turn the user's vision into finished work using the optional Slates tools and relevant production craft. Choose the workflow for the brief; start from the user's existing material and bring results into their project or timeline when asked.`, `Turn the user's vision into finished work in Slates. Find craft with slates_get_prompting_guide(query: the brief); reuse current guidance. Tools generate real media and spend credits. Before generation, estimate every step, show the itemized total and wait for approval. Work in the current project. Choose tools to fit the brief.
|
|
82
|
-
|
|
83
|
-
## Essentials (the sections below expand on these)
|
|
84
|
-
|
|
85
|
-
- FINDING TOOLS: every Slates capability is its own slates_* tool. If your client shows tool names only, search your tools for the task (for example "slates generate video") and load that tool before calling it. slates_load_tools searches Slates tools by task and returns exact schemas.
|
|
86
|
-
- SPENDING: before ANY generation, price every step with slates_estimate_generation_cost, show the user the itemized total in ONE message, and wait for their OK. Pass confirm: true only to relay an explicit user OK for that exact spend.
|
|
87
|
-
- REAL NUMBERS ONLY: every cost, balance or count you state is copied from a tool result in this session. Never describe how a generation looks unless you fetched it this session.
|
|
88
|
-
- PROJECT: call slates_get_workspace_state once, work in the user's current project, and never create a project unless asked.
|
|
89
|
-
- CRAFT: discover relevant guides with slates_get_prompting_guide(query: the brief). Reuse current cards and guidance; fetch sections for missing craft. For UI help, use topic "app-manual".
|
|
81
|
+
const PREAMBLE = fork(`You are the Slates Studio Agent — a production assistant living inside Slates, the AI video creation studio. Turn the user's vision into finished work using the optional Slates tools and relevant production craft. Choose the workflow for the brief; start from the user's existing material and bring results into their project or timeline when asked.`, `Turn the user's vision into finished work in Slates. Find craft with slates_get_prompting_guide(query: the brief); reuse current guidance. Tools generate real media and spend credits. Before generation, estimate every step, show the itemized total and wait for approval. Work in the current project. Choose tools to fit the brief.
|
|
82
|
+
|
|
83
|
+
## Essentials (the sections below expand on these)
|
|
84
|
+
|
|
85
|
+
- FINDING TOOLS: every Slates capability is its own slates_* tool. If your client shows tool names only, search your tools for the task (for example "slates generate video") and load that tool before calling it. slates_load_tools searches Slates tools by task and returns exact schemas.
|
|
86
|
+
- SPENDING: before ANY generation, price every step with slates_estimate_generation_cost, show the user the itemized total in ONE message, and wait for their OK. Pass confirm: true only to relay an explicit user OK for that exact spend.
|
|
87
|
+
- REAL NUMBERS ONLY: every cost, balance or count you state is copied from a tool result in this session. Never describe how a generation looks unless you fetched it this session.
|
|
88
|
+
- PROJECT: call slates_get_workspace_state once, work in the user's current project, and never create a project unless asked.
|
|
89
|
+
- CRAFT: discover relevant guides with slates_get_prompting_guide(query: the brief). Reuse current cards and guidance; fetch sections for missing craft. For UI help, use topic "app-manual".
|
|
90
90
|
- Speak in the app's words and name assets by code and label (IMG-A12), never by tool name or UUID.`);
|
|
91
91
|
// ── The working method ─────────────────────────────────────────────
|
|
92
92
|
export const WORKING_METHOD = [
|
|
@@ -177,9 +177,9 @@ export const HARD_RULES = [
|
|
|
177
177
|
// (`slates install-skills` covers Claude Code and Codex; other hosts may
|
|
178
178
|
// use different native skill locations). The desktop always has the embedded
|
|
179
179
|
// record, so this paragraph would be dead weight in its cached prefix.
|
|
180
|
-
const MCP_FOOTER = `## Working without skill files
|
|
181
|
-
|
|
182
|
-
If slates-* skill files are not installed in this client, every one of them is still reachable as data: call slates_get_prompting_guide with the skill name (or a model id — it resolves aliases). Query the brief or browse topic "catalog" for generated discovery and entitled member playbooks. "No skill installed" is never a reason to prompt a model blind.
|
|
180
|
+
const MCP_FOOTER = `## Working without skill files
|
|
181
|
+
|
|
182
|
+
If slates-* skill files are not installed in this client, every one of them is still reachable as data: call slates_get_prompting_guide with the skill name (or a model id — it resolves aliases). Query the brief or browse topic "catalog" for generated discovery and entitled member playbooks. "No skill installed" is never a reason to prompt a model blind.
|
|
183
183
|
`;
|
|
184
184
|
/**
|
|
185
185
|
* THE doctrine string for a surface. The desktop's whole system prompt and the
|
|
@@ -214,19 +214,19 @@ export function buildAgentDoctrine({ surface }) {
|
|
|
214
214
|
const skillIndex = rest.map((s) => `- ${s.name}: ${firstSentence(s.description)}`).join('\n') +
|
|
215
215
|
`\n- PER-MODEL PROMPTING GUIDES — pass the model id, or the name: ` +
|
|
216
216
|
perModel.map((s) => s.name).join(', ');
|
|
217
|
-
return `${PREAMBLE[surface]}
|
|
218
|
-
|
|
219
|
-
## How you work
|
|
220
|
-
|
|
221
|
-
${WORKING_METHOD.map((s) => s[surface]).join('\n')}
|
|
222
|
-
|
|
223
|
-
## Hard rules
|
|
224
|
-
|
|
225
|
-
${HARD_RULES.map((r) => r[surface]).join('\n')}
|
|
226
|
-
|
|
227
|
-
## Guide index (load via slates_get_prompting_guide)
|
|
228
|
-
|
|
229
|
-
${skillIndex}
|
|
217
|
+
return `${PREAMBLE[surface]}
|
|
218
|
+
|
|
219
|
+
## How you work
|
|
220
|
+
|
|
221
|
+
${WORKING_METHOD.map((s) => s[surface]).join('\n')}
|
|
222
|
+
|
|
223
|
+
## Hard rules
|
|
224
|
+
|
|
225
|
+
${HARD_RULES.map((r) => r[surface]).join('\n')}
|
|
226
|
+
|
|
227
|
+
## Guide index (load via slates_get_prompting_guide)
|
|
228
|
+
|
|
229
|
+
${skillIndex}
|
|
230
230
|
${surface === 'mcp' ? `\n${MCP_FOOTER}` : ''}`;
|
|
231
231
|
}
|
|
232
232
|
//# sourceMappingURL=agent-doctrine.js.map
|
|
@@ -301,7 +301,7 @@ export const MODEL_FACTS = [
|
|
|
301
301
|
// from the base row: "Audio cannot be the only reference input; provide at
|
|
302
302
|
// least one reference image or video with it."
|
|
303
303
|
audioRefNeedsCompanion: true,
|
|
304
|
-
notes: 'THE SPEED SEAT, dearer than base H3 at 768p and equal at 480p — never the cheap H3 and never the default.
|
|
304
|
+
notes: 'THE SPEED SEAT, dearer than base H3 at 768p and equal at 480p — never the cheap H3 and never the default. A post-train of the H3 weights: MEASURED 2026-08-27 at about 12x faster than base H3 on the same prompt and params, queue to finished file, plus a thin vendor-reported quality edge. It tops out at a 1080p refinement of its 768p render. It takes the same omni-reference set as base H3 and animates start and end frames — but not both in one call, the same as base H3: frames and references go to different endpoints. Never describe this row as taking no image or reference input. Route here when a fast turnaround on text-to-video or a start-frame shot is worth the premium.',
|
|
305
305
|
},
|
|
306
306
|
{
|
|
307
307
|
id: 'minimax-h3-max-turbo',
|
|
@@ -313,7 +313,7 @@ export const MODEL_FACTS = [
|
|
|
313
313
|
// image-to-video for Turbo and its reference-to-video returns 404, so
|
|
314
314
|
// `caps()` returns nulls and the composer refuses references.
|
|
315
315
|
...caps('minimax-h3-max-turbo'),
|
|
316
|
-
notes: 'THE BUDGET SEAT of the MiniMax family: a second
|
|
316
|
+
notes: 'THE BUDGET SEAT of the MiniMax family: a second post-train of the H3 weights, billed at half H3 Max\'s rate at every tier. Its 1080p is a refinement of the native 768p render, not a native 1080p generation. INPUTS ARE FRAMES, NOT REFERENCES: text-to-video and start/end frames only, with no reference endpoint, so reference-driven consistency goes to H3 Max or base H3. Route here for drafts, volume and cheap coverage, then re-run the keeper on H3 Max or a hero seat.',
|
|
317
317
|
},
|
|
318
318
|
{
|
|
319
319
|
id: 'ltx-2-5',
|
|
@@ -13,7 +13,7 @@ export const PARTIALS = {
|
|
|
13
13
|
"image-defaults": "**Image default:** gpt-image-2-5-sunburst, quality `high`, 3k. User overrides take priority. Without a project, generation uses the headless Nano Banana 2 seat.\n\n| Model | Default resolution |\n|---|---|\n| nano-banana-2 | 2k |\n| nano-banana-2-lite | 1k |\n| nano-banana-pro | 2k |\n| gpt-image-2-5-flare | 2k |\n| gpt-image-2-5-sunburst | 3k |\n| flux-2-max | 1k |\n| seedream-5-lite | 2k |",
|
|
14
14
|
"iteration-diagnosis": "## Diagnose repeated failures\n\nAfter three failed attempts at the same requirement, pause unchanged re-rolls and diagnose the source reference, prompt structure, model fit and tool result. Three is a review checkpoint, not a universal limit or proof that the seed cannot matter. Preserve the attempts and name what each test changed.\n\nContinue autonomously when the brief is clear, a specific correction is supported and the next request is already authorized. Hand control back when taste or intent cannot be inferred, the next request needs fresh consent, or the available tool cannot meet the requirement. A failed roll never authorizes an additional charge. Follow the existing batch and per-request cost policy.",
|
|
15
15
|
"lens-video-split": "Named lenses, apertures, film stocks and camera bodies (`85mm f/1.4`, `Kodak Portra 400`, `ARRI Alexa 65`) are an image-model lever. On a video model, translate the look instead of pasting the gear list: `85mm f/1.4, Portra 400` becomes `close-up, shallow depth of field, warm natural colors, cinematic texture, film-grain texture`. ByteDance's Seedance 2.0 guide never mentions fps, shutter angle, f-stop or lens millimetres. Its Seedance 2.5 guide does, once: the visual-style line of its own storyboard example names one camera body and one 35 mm cinema lens. On 2.5 a single line like that is vendor-sanctioned; a stacked gear list still is not.",
|
|
16
|
-
"model-routing": "**Current model routing, generated from the operation routing source:**\n\n### image generate\n\nNano Banana 2 (Gemini 3.1 Flash Image): The all-rounder and the only image seat with a headless path: holds many subjects coherently in one frame, and the start-frame for legible in-scene text. Knowledge cutoff Jan 2025: anything later needs reference images.\nNano Banana 2 Lite: FAST/DRAFT image tier — markedly cheaper and faster than NB2 full, at draft quality. Route here for iteration volume, then re-run the winner on NB2 full. Same Gemini content filter as NB2.\nNano Banana Pro: HERO-FRAME / typography PREMIUM image tier. NB2 is about 95% of Pro — escalate only when spatial composition, cinematic lighting/skin, fine typography-in-scene or deep multi-element reasoning must be perfect, and say why.\nGPT Image 2.5 Flare: THE FAST GPT IMAGE SEAT — OpenAI's small model, optimized for SPEED, quality COMPARABLE to GPT Image 2 (not better) at roughly half the latency. Route here when speed matters: drafts, exploration, volume. TEXT / DIAGRAM / PANEL work — character sheets, shot grids, text-bearing panels. When quality outranks speed, escalate to Sunburst. Own content filter, distinct from Gemini's. Killed by a head-to-head at the intended crop going the other way.\nGPT Image 2.5 Sunburst: THE QUALITY GPT IMAGE SEAT — OpenAI's most capable image model, higher quality than GPT Image 2, same price as Flare, deliberately SLOWER. Route here unless speed is the point: finals, hero frames, photoreal people, and multi-reference edits where every reference must survive into one frame — its widest lead. Explore on Flare, finish on Sunburst.\nFLUX.2 Max: Photoreal image seat, less censored than the Gemini rails. Auto-routes to its edit endpoint when references are present.\nSeedream 5 Lite: Cheapest flat-priced image seat (GPT Image 2.5 at low quality costs less per image). Less censored. Routes to its edit endpoint when references are present.\n\n### video generate\n\nSeedance 2.0: THE 4K AND VALUE SEAT beside the 2.5 default — the only Seedance with native 4K (Pro-gated; base accounts get PRO_REQUIRED) and cheaper than 2.5 at every resolution they share, with the same physics, effects and scale strengths; shorter takes, fewer references, no timestamps. VIDEO-ONLY. A bare \"seedance\" still resolves here for older CLIs that expect 4K.\nSeedance 2.5: DEFAULT VIDEO MODEL — the strongest seat for physics, effects, scale and hero shots, and the only Seedance that takes long single takes, many references, audio-only references and integer-second timestamps. No 4K, and dearer than 2.0 at every shared resolution: go to 2.0 for 4K or the same resolution cheaper. LENGTH is the price dial — quote long takes first. VIDEO-ONLY. Timestamp grammar and the edit/extend words that make the provider reclassify and fail a generation are in slates-prompting-seedance-2-5.\nKling 3.0: THE COST-EFFECTIVE SEAT — strong start-frame adherence (identity, layout, text), acting, dialogue and lip-sync; pick it when the budget matters and the shot is a performance or a start-frame animation. Kling is also the ONLY engine behind the Motion Transfer and Lip Sync tools.\nGemini Omni Flash: 720p seat with native synced audio included. Route here for drafts with sound in one pass and reference-to-video character-consistency trials; LTX, H3 and H3 Max Turbo cost less per second. VIDEO-ONLY. Quality against Kling/Seedance is unproven — do not route hero shots here.\nMiniMax H3: THE AUTHORED-AUDIO SEAT — reach for H3 when the sound is part of the shot rather than a switch on it: synchronised dialogue, scene sound and an audience-only score directed as three separate layers in ONE pass, across eleven languages. Kling and Seedance treat audio as on/off. Only H3 also carries a DECLARED REFERENCE RELATIONSHIP (kept whole, partly kept, transferred, or a loose echo). VIDEO-ONLY. Its top two resolution tiers are UPSCALES of the native render, not larger generations — judge at native and upscale in post. Reference images past the fifth are a PAID key dimension: pass referenceImages when quoting.\nMiniMax H3 Max: THE SPEED SEAT, dearer than base H3 at 768p and equal at 480p — never the cheap H3 and never the default.
|
|
16
|
+
"model-routing": "**Current model routing, generated from the operation routing source:**\n\n### image generate\n\nNano Banana 2 (Gemini 3.1 Flash Image): The all-rounder and the only image seat with a headless path: holds many subjects coherently in one frame, and the start-frame for legible in-scene text. Knowledge cutoff Jan 2025: anything later needs reference images.\nNano Banana 2 Lite: FAST/DRAFT image tier — markedly cheaper and faster than NB2 full, at draft quality. Route here for iteration volume, then re-run the winner on NB2 full. Same Gemini content filter as NB2.\nNano Banana Pro: HERO-FRAME / typography PREMIUM image tier. NB2 is about 95% of Pro — escalate only when spatial composition, cinematic lighting/skin, fine typography-in-scene or deep multi-element reasoning must be perfect, and say why.\nGPT Image 2.5 Flare: THE FAST GPT IMAGE SEAT — OpenAI's small model, optimized for SPEED, quality COMPARABLE to GPT Image 2 (not better) at roughly half the latency. Route here when speed matters: drafts, exploration, volume. TEXT / DIAGRAM / PANEL work — character sheets, shot grids, text-bearing panels. When quality outranks speed, escalate to Sunburst. Own content filter, distinct from Gemini's. Killed by a head-to-head at the intended crop going the other way.\nGPT Image 2.5 Sunburst: THE QUALITY GPT IMAGE SEAT — OpenAI's most capable image model, higher quality than GPT Image 2, same price as Flare, deliberately SLOWER. Route here unless speed is the point: finals, hero frames, photoreal people, and multi-reference edits where every reference must survive into one frame — its widest lead. Explore on Flare, finish on Sunburst.\nFLUX.2 Max: Photoreal image seat, less censored than the Gemini rails. Auto-routes to its edit endpoint when references are present.\nSeedream 5 Lite: Cheapest flat-priced image seat (GPT Image 2.5 at low quality costs less per image). Less censored. Routes to its edit endpoint when references are present.\n\n### video generate\n\nSeedance 2.0: THE 4K AND VALUE SEAT beside the 2.5 default — the only Seedance with native 4K (Pro-gated; base accounts get PRO_REQUIRED) and cheaper than 2.5 at every resolution they share, with the same physics, effects and scale strengths; shorter takes, fewer references, no timestamps. VIDEO-ONLY. A bare \"seedance\" still resolves here for older CLIs that expect 4K.\nSeedance 2.5: DEFAULT VIDEO MODEL — the strongest seat for physics, effects, scale and hero shots, and the only Seedance that takes long single takes, many references, audio-only references and integer-second timestamps. No 4K, and dearer than 2.0 at every shared resolution: go to 2.0 for 4K or the same resolution cheaper. LENGTH is the price dial — quote long takes first. VIDEO-ONLY. Timestamp grammar and the edit/extend words that make the provider reclassify and fail a generation are in slates-prompting-seedance-2-5.\nKling 3.0: THE COST-EFFECTIVE SEAT — strong start-frame adherence (identity, layout, text), acting, dialogue and lip-sync; pick it when the budget matters and the shot is a performance or a start-frame animation. Kling is also the ONLY engine behind the Motion Transfer and Lip Sync tools.\nGemini Omni Flash: 720p seat with native synced audio included. Route here for drafts with sound in one pass and reference-to-video character-consistency trials; LTX, H3 and H3 Max Turbo cost less per second. VIDEO-ONLY. Quality against Kling/Seedance is unproven — do not route hero shots here.\nMiniMax H3: THE AUTHORED-AUDIO SEAT — reach for H3 when the sound is part of the shot rather than a switch on it: synchronised dialogue, scene sound and an audience-only score directed as three separate layers in ONE pass, across eleven languages. Kling and Seedance treat audio as on/off. Only H3 also carries a DECLARED REFERENCE RELATIONSHIP (kept whole, partly kept, transferred, or a loose echo). VIDEO-ONLY. Its top two resolution tiers are UPSCALES of the native render, not larger generations — judge at native and upscale in post. Reference images past the fifth are a PAID key dimension: pass referenceImages when quoting.\nMiniMax H3 Max: THE SPEED SEAT, dearer than base H3 at 768p and equal at 480p — never the cheap H3 and never the default. A post-train of the H3 weights: MEASURED 2026-08-27 at about 12x faster than base H3 on the same prompt and params, queue to finished file, plus a thin vendor-reported quality edge. It tops out at a 1080p refinement of its 768p render. It takes the same omni-reference set as base H3 and animates start and end frames — but not both in one call, the same as base H3: frames and references go to different endpoints. Never describe this row as taking no image or reference input. Route here when a fast turnaround on text-to-video or a start-frame shot is worth the premium.\nMiniMax H3 Max Turbo: THE BUDGET SEAT of the MiniMax family: a second post-train of the H3 weights, billed at half H3 Max's rate at every tier. Its 1080p is a refinement of the native 768p render, not a native 1080p generation. INPUTS ARE FRAMES, NOT REFERENCES: text-to-video and start/end frames only, with no reference endpoint, so reference-driven consistency goes to H3 Max or base H3. Route here for drafts, volume and cheap coverage, then re-run the keeper on H3 Max or a hero seat.\nLTX-2.5: THE VOLUME SEAT — the cheapest 1080p second with sound included, and the row for MANY takes rather than one hero shot. Native synced audio is included free at every tier, unlike Kling where sound is a paid key dimension. It supports native high-resolution output and longer takes than most seats; use the capability surface for its resolution-dependent duration limits. VIDEO-ONLY. INPUTS ARE FRAMES, NOT REFERENCES: start frame plus an optional end frame, and no reference endpoint at all — for character consistency across shots use H3 or Kling. Route here for batch coverage, long takes, and anything where the credit budget is the binding constraint.\nLTX-2.5 Pro: THE FIDELITY SEAT of the LTX pair — the full diffusion build against the base row's distilled one. 🚨 IT IS NOT A SUPERSET OF THE BASE ROW, which is the opposite of every other Pro seat here: it reaches a SHORTER resolution ladder and makes SHORTER clips, and it costs more at both tiers they share. Reaching for it because the name says Pro costs more AND takes away reach. Everything else matches the base row. Route here only when a specific shot needs the fidelity and fits inside its narrower envelope.\n\n### video edit\n\nSeedance 2.5 Edit: VIDEO-TO-VIDEO EDIT via slates_edit_video, and the only edit engine that takes a clip longer than the other two reach — that length is the whole reason to route here. Inside their range, compare on fidelity instead: Omni Flash edit won the prompt-only head-to-head, and Kling edit is the one that takes reference images. Edits audio on the same row (re-voice, re-accent, translate with re-fitted lips, replace BGM). Costs about 1.2x a plain 2.5 generation of the same length: an edit bills at twice the reduced video-reference rate.\nKling O3 Video Edit: VIDEO-TO-VIDEO EDIT, the REF-DRIVEN one: it is the only edit seat that takes element/style reference images to lock subject identity, and its keepAudio preserves the original audio verbatim. Route here when an edit NEEDS reference images or bit-exact audio; for prompt-only footage-synced VFX, omni-flash-edit won the fidelity head-to-head. One instruction beat per pass — multi-beat prompts get under-executed.\nOmni Flash Edit: VIDEO-TO-VIDEO EDIT, prompt-only — THE EDIT-FIDELITY WINNER (head-to-head vs Kling edit on real talking footage: lips held, audio near-identical, both action beats landed), priced level with Kling O3 Edit Standard. Footage-synced prop, effect, environment and lighting swaps. Takes NO reference images — identity swaps needing refs go to Kling edit. Fidelity is EARNED by prompt discipline; the exact form is in slates-prompting-omni-flash.\n\n### audio generate\n\nSeed Audio 1.0: DEFAULT audio model — the one-pass SCENE workhorse: dialogue, SFX and ambience together from ONE plain sentence. Route here for continuity beds, room tone, crowd and nature soundscapes, and quick scratch VO. AUDIO-ONLY. Takes one image XOR up to three audio clips as references, never both. Prompt form and the length rule are in slates-prompting-seed-audio.\nElevenLabs Sound Effects v2: ONE-SHOT SOUND EFFECT with an EXACT duration — route here for a single hit that must land on a frame (door slam, whoosh, impact, UI blip) or for a seamless loop. AUDIO-ONLY. For layered scenes with dialogue or room tone, seed-audio does it in one pass instead.\nInworld Realtime TTS-2: THE VOICE SEAT — one named voice saying one line, billed per CHARACTER not per second. Route here when WHO is speaking matters. NOT scene audio — that is seed-audio; a single effect is eleven-sfx.",
|
|
17
17
|
"reference-rules-core": "Identity = a few flat-lit neutral angles; one reference per role, named inline; 2-4 refs not 12; describe environments instead of feeding a grid.\n\n1. **2-4 strong references beat both extremes.** Not 1 (warps toward itself), not 12 (averages worse). Start with 2-3 focused refs — each one adds context AND another variable to balance.\n2. **One reference per ROLE, named in the prompt** — identity / style-grade / environment. The model does **not** infer a reference's role from its position in the list; the inline name carries it. Same-role competitors drift (two \"identity\" refs of different people blend into a third face). Slates resolves `@mentions` / `#tags` into numbered citations. You can also bind references directly in scene prose, naming what each image supplies.\n3. **One identity sheet per character, named inline.** A character's identity is a single asset (dominant portrait + body panels), so attach that one asset rather than a pile of views: **fewer competing renderings of a face is better, because the model cannot tell which one is authoritative and averages them.** Slates cites it as `Marcus (image 1)`. **Do NOT hand-write a \"Reference Image Instructions\" block or role essays** (\"use for identity, ignore the outfit, render a neutral expression\") — that drags the sheet's studio lighting and wardrobe into a scene that asked for neither. The prompt leads; the user's words own wardrobe, expression, lighting, and action.\n4. **Flat-light identity refs.** Prep identity references with flat, even, shadowless lighting on a plain neutral background. A studio-lit or scene-lit character sheet bleeds its lighting into every generation — the failure looks like the subject was green-screen-pasted in front of the location. Reference prep beats prompting here.\n5. **Environment: describe it, don't feed a grid.** Default to describing the location in words and let the model build a space that fits the shot. Reserve an environment reference for a mandatory exact-match, and then use ONE clean establishing image with natural ambient light that reads as the location's real light — never a multi-panel grid fed whole.\n6. **Grids: explore, don't input.** Use grids to explore compositions cheaply, then pick a cell. Never feed a grid back in as a reference — the cells share a split detail budget and were generated jointly, so their flaws propagate.\n7. **Reuse the same refs across every shot** in a sequence. Lock a set and keep it; swapping references mid-sequence causes drift, because the model adapts each reference to the current prompt rather than copying it.\n8. **Legible in-shot text → bake it into a still start frame, never trust text-to-video.** Have an image model render the text, then animate from that locked frame. Video models smear type.\n9. **Working from existing media — describe ONLY what changes.** The source already carries its composition, motion, timing, and performance; re-describing them fights the model. Narrate the delta. (Video lane: restyle your own clip while keeping the performance; delayed-VFX on \"video one\"; marker-object insertion; video-as-reference for a series.)\n10. **Style transforms happen in natural language.** By default the source's artistic medium and visual style are inherited. To change it, add a plain-text instruction (\"anime → real person\"). There are no preset pickers, and there is no style slider.",
|
|
18
18
|
"reference-tips-short": "Name each reference inline; never write role essays. Slates does this for you: `@mention` a subject or environment and it composes `Marcus (image 1) in the cafe (image 2)`, citing them in the exact order it sends them. One canonical identity image avoids competing facial renderings; a \"Reference Image Instructions\" block drags reference lighting into your scene. Start with 2-3 focused refs.",
|
|
19
19
|
"references-read-literally": "> **The general law: the model reads a reference literally.**\n> A reference image is not a suggestion. Whatever is baked into it — lighting, medium, texture, symmetry, competing identities — is read as a **property of the subject** and reproduced downstream. A baked rim light tints every shot made from that sheet. A sheet that looks like a 3D game render gets animated like game footage. Two competing renderings of one face get averaged into a third face.\n\nEvery reference rule below is a corollary of that one sentence, which is why \"prep the reference\" beats \"prompt around the reference\" every time:\n\n- **Flat, plain identity refs** — because scene lighting in the sheet becomes scene lighting in the output (Slates' own receipt: a studio-lit sheet produced a subject that looked green-screen-pasted in front of mountains).\n- **One authoritative rendering per subject** — because the model cannot tell which panel is the real one. ByteDance documents this failure directly: multi-view character assets \"confuse the model's character recognition, causing it to generate duplicate characters of the same appearance.\"\n- **No 3D-game-render look in a reference** — the model recognizes the render mood and inherits its motion character, so the *animation* comes out looking like game footage. This is not a taste rule; it is the same literal-reading mechanism applied to the temporal layer.\n- **Break perfect symmetry** — mirrored faces and dead-square framing read as synthetic, and the model preserves that reading rather than correcting it.\n\n**What this means in practice:** when output is wrong in a way that tracks the *subject* rather than the *scene* — the lighting is wrong the same way in every shot, the face drifts, the material looks synthetic everywhere — fix the reference, not the prompt. Prompting around a baked-in property is the expensive way to lose.",
|
|
@@ -592,7 +592,7 @@ const MINIMAX_H3 = {
|
|
|
592
592
|
label: 'MiniMax H3',
|
|
593
593
|
intro: [
|
|
594
594
|
'MiniMax H3 generates picture and sound in one pass — 24fps, 32kHz stereo, 5-15 seconds, 11 stably-supported languages. It is the only video model in Slates where audio is AUTHORED rather than switched on: synchronised dialogue and action sounds go in the body of the prompt, ambience goes in a soundscape section, and audience-only music goes in a score section. Put a sound in the wrong section and it is dropped, doubled, or attributed to the wrong source.',
|
|
595
|
-
'Three models. Base H3 runs 480p / 768p / 2K / 4K; H3 Max is
|
|
595
|
+
'Three models. Base H3 runs 480p / 768p / 2K / 4K; H3 Max is a faster post-train and runs 480p / 768p / 1080p, dearer than base H3 at 768p and equal at 480p - a deliberate speed pick, never the cheap one; H3 Max Turbo has Max\'s ladder at half Max\'s rate and takes NO references. Base H3 and Max read up to 9 reference images plus 3 video and 3 audio clips (12 files total, and audio never travels alone); all three animate a start frame and an end frame. 768p is the default on all three because it is the tier the model natively generates; base H3\'s 2K and 4K are upscales of a 768p base, and 1080p on Max and Turbo is a refinement of it. Reference images past the free allowance are billed and the allowances DIFFER: 5 free on base H3, 4 on Max.',
|
|
596
596
|
],
|
|
597
597
|
columns: [
|
|
598
598
|
[
|
|
@@ -622,7 +622,7 @@ const MINIMAX_H3 = {
|
|
|
622
622
|
{
|
|
623
623
|
heading: 'Cite references by number',
|
|
624
624
|
example: 'Marcus (image 1) walks into the workshop (image 2)...',
|
|
625
|
-
note: `H3 takes references as typed slots and expects plain numbered prose — image 1, video 1, audio 1, each modality counted separately from 1.
|
|
625
|
+
note: `H3 takes references as typed slots and expects plain numbered prose — image 1, video 1, audio 1, each modality counted separately from 1. The endpoint's own prompt-field description: "Refer to reference assets by their modality and order in the reference lists: Image 1, Image 2, Video 1, Audio 1, and so on." Do not hand-write angle-bracket tags — MiniMax's guides use \`<Subject N>\` / \`<Audio N>\` as DOCUMENTATION notation and typing them puts literal brackets in the prompt. An audio reference binds as a voice timbre to a named speaker, the same primitive Seedance uses. ${PARTIALS['reference-tips-short']}`,
|
|
626
626
|
},
|
|
627
627
|
{
|
|
628
628
|
heading: 'Say how much of a reference survives',
|