@starreel/mcp 0.1.104 → 0.1.105
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/SKILL.md +11 -0
- package/dist/tools/produce.js +6 -0
- package/openapi.json +72 -2
- package/package.json +1 -1
- package/server.json +2 -2
package/SKILL.md
CHANGED
|
@@ -121,6 +121,17 @@ Don't ask the user at every step. Sort work into three tiers:
|
|
|
121
121
|
`video_style_prompt`) are all free and the foundation that steers every later
|
|
122
122
|
generation. Set them up front via `create_drama` / `update_project_settings`
|
|
123
123
|
— don't build an empty shell, or all downstream generation drifts.
|
|
124
|
+
**Honor explicit creative requirements.** `creative_contract` on
|
|
125
|
+
`create_drama` / `update_project_settings` accepts `version: 1`, optional
|
|
126
|
+
`speech` (`unspecified` / `forbidden` / `required`), `music`
|
|
127
|
+
(`unspecified` / `forbidden`), and `pacing` (`unspecified` / `quiet`).
|
|
128
|
+
Set these only from the customer's explicit choice, never infer them from
|
|
129
|
+
genre. Omission preserves settings; `null` clears; an object replaces the
|
|
130
|
+
whole contract. Forbidden speech covers dialogue, narration and singing;
|
|
131
|
+
environmental/action sounds remain allowed. Forbidden music applies to
|
|
132
|
+
video output and final composition; customers may still generate, save and
|
|
133
|
+
select music assets. Music already mixed into native clip audio needs
|
|
134
|
+
separate handling. Quiet pacing suppresses generic climax/valley advice.
|
|
124
135
|
**Set the structured era contract for anything non-contemporary.**
|
|
125
136
|
`setting_brief` is free text: it supplies background but cannot hold the
|
|
126
137
|
frame. The one mechanism that outranks the visual lock is the structured
|
package/dist/tools/produce.js
CHANGED
|
@@ -221,6 +221,12 @@ const VIDEO_ENGINES = ['seedance-2.5', 'hailuo-3', 'wan3.0', 'wan3.0-prime'];
|
|
|
221
221
|
// 后端内部 PUT /dramas 已接受写库,facade 白名单 Wave3 已放行(produce-create-fields.ts)。
|
|
222
222
|
// 不含内部产线/成本开关(strict_mode/best_of_n/shoppable/budget_points 等,需产品决策)。
|
|
223
223
|
const PROJECT_SETTINGS_FIELDS = {
|
|
224
|
+
creative_contract: z.object({
|
|
225
|
+
version: z.literal(1),
|
|
226
|
+
speech: z.enum(['unspecified', 'forbidden', 'required']).optional(),
|
|
227
|
+
music: z.enum(['unspecified', 'forbidden']).optional(),
|
|
228
|
+
pacing: z.enum(['unspecified', 'quiet']).optional(),
|
|
229
|
+
}).strict().nullable().optional().describe('客户明确创作约束:speech=forbidden 禁止对白/旁白/演唱,music=forbidden 仅禁止本片输出混入配乐(允许生成/保存/选择音乐素材),pacing=quiet 保持平静节奏。不推断;整对象替换,null 清除,省略保持。环境声/音效不受禁止人声影响。'),
|
|
224
230
|
// drama 级图片模型(整剧统一画风):默认 ChatGPT Image 2.5 Flare(v0.9.1558)
|
|
225
231
|
image_model: z.string().optional().describe('图片模型(★drama级·整剧统一画风·默认 ChatGPT Image 2.5 Flare)。可选:' +
|
|
226
232
|
'gpt-image-2.5-flare(默认·基础11点+每张参考图18点)/gpt-image-2.5-sunburst(同价·中文字形与细节更准·慢约5秒)/' +
|
package/openapi.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "StarReel Production API",
|
|
5
|
-
"version": "0.1.
|
|
6
|
-
"description": "Turn a script into a finished, downloadable short-drama episode over REST.\n\nPipeline: script → AI rewrite → cast/scenes/props extraction → storyboards → portraits & sheets + scene plates → keyframes → video shots → TTS → final cut (.mp4).\n\n**Billing is prepaid and agent-safe**: big-ticket stages are quote-then-generate (`quote_*` returns a `quote_id`). For video, quote == actual charge. For images the quote is a *range* — models billed per reference image are priced before those are assembled, so `estimated_points` is the upper bound (size the balance by it and a run never dies half-way) and `typical_points` is the usual cost; fixed-price models return the two equal. Insufficient balance returns 402 — nothing half-runs and the account never goes negative.\n\nAuth: exchange your API key at `POST /v1/agent/token` for a 15-minute bearer token.\n\nGenerated from the @starreel/mcp v0.1.
|
|
5
|
+
"version": "0.1.105",
|
|
6
|
+
"description": "Turn a script into a finished, downloadable short-drama episode over REST.\n\nPipeline: script → AI rewrite → cast/scenes/props extraction → storyboards → portraits & sheets + scene plates → keyframes → video shots → TTS → final cut (.mp4).\n\n**Billing is prepaid and agent-safe**: big-ticket stages are quote-then-generate (`quote_*` returns a `quote_id`). For video, quote == actual charge. For images the quote is a *range* — models billed per reference image are priced before those are assembled, so `estimated_points` is the upper bound (size the balance by it and a run never dies half-way) and `typical_points` is the usual cost; fixed-price models return the two equal. Insufficient balance returns 402 — nothing half-runs and the account never goes negative.\n\nAuth: exchange your API key at `POST /v1/agent/token` for a 15-minute bearer token.\n\nGenerated from the @starreel/mcp v0.1.105 tool surface (operationIds match MCP tool names 1:1)."
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
@@ -722,6 +722,41 @@
|
|
|
722
722
|
"director_style": {
|
|
723
723
|
"type": "string"
|
|
724
724
|
},
|
|
725
|
+
"creative_contract": {
|
|
726
|
+
"type": "object",
|
|
727
|
+
"properties": {
|
|
728
|
+
"version": {
|
|
729
|
+
"type": "number",
|
|
730
|
+
"const": 1
|
|
731
|
+
},
|
|
732
|
+
"speech": {
|
|
733
|
+
"type": "string",
|
|
734
|
+
"enum": [
|
|
735
|
+
"unspecified",
|
|
736
|
+
"forbidden",
|
|
737
|
+
"required"
|
|
738
|
+
]
|
|
739
|
+
},
|
|
740
|
+
"music": {
|
|
741
|
+
"type": "string",
|
|
742
|
+
"enum": [
|
|
743
|
+
"unspecified",
|
|
744
|
+
"forbidden"
|
|
745
|
+
]
|
|
746
|
+
},
|
|
747
|
+
"pacing": {
|
|
748
|
+
"type": "string",
|
|
749
|
+
"enum": [
|
|
750
|
+
"unspecified",
|
|
751
|
+
"quiet"
|
|
752
|
+
]
|
|
753
|
+
}
|
|
754
|
+
},
|
|
755
|
+
"required": [
|
|
756
|
+
"version"
|
|
757
|
+
],
|
|
758
|
+
"additionalProperties": false
|
|
759
|
+
},
|
|
725
760
|
"image_model": {
|
|
726
761
|
"type": "string"
|
|
727
762
|
},
|
|
@@ -1022,6 +1057,41 @@
|
|
|
1022
1057
|
"mv_audio_url": {
|
|
1023
1058
|
"type": "string"
|
|
1024
1059
|
},
|
|
1060
|
+
"creative_contract": {
|
|
1061
|
+
"type": "object",
|
|
1062
|
+
"properties": {
|
|
1063
|
+
"version": {
|
|
1064
|
+
"type": "number",
|
|
1065
|
+
"const": 1
|
|
1066
|
+
},
|
|
1067
|
+
"speech": {
|
|
1068
|
+
"type": "string",
|
|
1069
|
+
"enum": [
|
|
1070
|
+
"unspecified",
|
|
1071
|
+
"forbidden",
|
|
1072
|
+
"required"
|
|
1073
|
+
]
|
|
1074
|
+
},
|
|
1075
|
+
"music": {
|
|
1076
|
+
"type": "string",
|
|
1077
|
+
"enum": [
|
|
1078
|
+
"unspecified",
|
|
1079
|
+
"forbidden"
|
|
1080
|
+
]
|
|
1081
|
+
},
|
|
1082
|
+
"pacing": {
|
|
1083
|
+
"type": "string",
|
|
1084
|
+
"enum": [
|
|
1085
|
+
"unspecified",
|
|
1086
|
+
"quiet"
|
|
1087
|
+
]
|
|
1088
|
+
}
|
|
1089
|
+
},
|
|
1090
|
+
"required": [
|
|
1091
|
+
"version"
|
|
1092
|
+
],
|
|
1093
|
+
"additionalProperties": false
|
|
1094
|
+
},
|
|
1025
1095
|
"image_model": {
|
|
1026
1096
|
"type": "string"
|
|
1027
1097
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@starreel/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.105",
|
|
4
4
|
"mcpName": "ai.starreel/starreel",
|
|
5
5
|
"description": "StarReel MCP server — drive the AI short-drama production pipeline (script → storyboards → frames → video → final cut) from Claude, Cursor, or any MCP client",
|
|
6
6
|
"license": "MIT",
|
package/server.json
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json",
|
|
3
3
|
"name": "ai.starreel/starreel",
|
|
4
4
|
"description": "Turn a script into a finished, downloadable short-drama episode — via MCP or REST.",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.105",
|
|
6
6
|
"websiteUrl": "https://starreel.ai",
|
|
7
7
|
"packages": [
|
|
8
8
|
{
|
|
9
9
|
"registryType": "npm",
|
|
10
10
|
"identifier": "@starreel/mcp",
|
|
11
|
-
"version": "0.1.
|
|
11
|
+
"version": "0.1.105",
|
|
12
12
|
"transport": {
|
|
13
13
|
"type": "stdio"
|
|
14
14
|
},
|