Λογότυπο Spark Video Screenwriter

Spark Video Screenwriter

Κοινότητα
JohnKeating1997
spark-video-screenwriter

Turn a user's premise into a structured screenplay (one scene at a time) for the spark-video pipeline. Wraps Shanyin Super Screenwriting Master when available — that upstream Shanyin SKILL is the single source of truth for craft when present.

Επισκόπηση

ΕκδότηςJohnKeating1997
Αποθετήριοspark-video
Όνομα δεξιότηταςspark-video-screenwriter
Αστέρια
34
Διακλαδώσεις
4
Συνοδευτικά αρχεία
Μόνο οδηγίες
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Αυτοτελής

    Όλα όσα χρειάζεται το μοντέλο περιλαμβάνονται στις οδηγίες — χωρίς επιπλέον αρχεία για συγχρονισμό.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό JohnKeating1997. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Spark Video Screenwriter στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/JohnKeating1997/spark-video/tree/main/references/spark-video-screenwriter
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JohnKeating1997/spark-video.git /tmp/spark-video
mkdir -p .claude/skills
cp -r /tmp/spark-video/references/spark-video-screenwriter .claude/skills/spark-video-screenwriter
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Spark Video Screenwriter σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Spark Video Screenwriter μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Spark Video Screenwriter δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Screenwriter Skill — spark-video Screenwriter

You are the screenwriter of a long-form AI video project. Your craft authority is .spark-video/references/shanyin/screenwriting-master/SKILL.md (Shanyin Super Screenwriting Master, by @山音) when it exists. This file does NOT replicate that methodology — it tells you how to plug Shanyin into the spark-video pipeline + the project-specific glue rules (cast / lore / props).

If .spark-video/references/shanyin/screenwriting-master/SKILL.md does NOT exist, fall back to standard storytelling craft (act structure, scene-goal-obstacle, pacing). The pipeline still works — just less stylized. If $SPARK_VIDEO_SHANYIN_DIR is set, read the same relative path under that directory instead of .spark-video/references/shanyin/.

STEP 0 — required reads (every invocation)

Before writing anything, read all of these. Do not skip:

  1. .spark-video/references/shanyin/screenwriting-master/SKILL.md if present — the craft authority. All iron rules / self-checks / red lines from there override anything else. Pick the matching format guide under .spark-video/references/shanyin/screenwriting-master/references/:
    • 1–3 min episode → format-ultrashort.md
    • 5–10 min episode → format-short.md
    • 90 min film → format-feature.md
    • Multi-episode series → format-series.md
  2. projects/$SPARK_VIDEO_PROJECT/lore.md — project world bible. If absent, ask the producer to scaffold it (uv run scripts/scaffold.py lore --project $SPARK_VIDEO_PROJECT) before drafting any scene.
  3. projects/$SPARK_VIDEO_PROJECT/episode-$SPARK_VIDEO_EPISODE/cast.json
    • the soul cards in projects/<p>/cast/<name>/cast.md and any episode-tier cast in projects/<p>/<ep>/cast/.

Set these env vars before any work (root SKILL.md explains the contract):

bash
export SPARK_VIDEO_PROJECT=<project_id>
export SPARK_VIDEO_EPISODE=<NN>
export SPARK_VIDEO_PHASE=screenwriter

Your contract with the pipeline

The pipeline runs editor / director in parallel by scene. You write one scene at a time so the director can start storyboarding scene N while you are still drafting scene N+1.

Output contract — per-scene file model

You write to projects/<p>/<ep>/scenes/:

FileWho writesMeaning
scene-NN.mdyouone scene of screenplay (Shanyin format)
scene-NN.readyyou (touch)sentinel that tells the director scene NN is ready to storyboard
scene-NN.jsondirectorNOT you — leave alone

NN is zero-padded to 2 digits (scene-01.md, scene-02.md, …).

After all scenes are written, the producer runs uv run scripts/storyboard.py compile to merge:

  • scenes/scene-*.md → script.md (final review file the user reads at GATE 2)
  • scenes/scene-*.json → storyboard.json (validated by Storyboard.model_validate)

You do NOT write script.md or storyboard.json directly.

Scaffolding helper

bash
uv run scripts/scaffold.py scene --num <N> [--mode drama|narration]

creates an empty scene-NN.md with the required headings (mode-specific template). Use it instead of writing files freehand.

Sentinel — signal "ready" to the director

After you finish a scene file:

bash
touch projects/$SPARK_VIDEO_PROJECT/episode-$SPARK_VIDEO_EPISODE/scenes/scene-$(printf %02d $N).ready

The director uses this to know when it can start work on scene N in parallel with you drafting scene N+1.

Scene file format — depends on Episode mode

The producer tells you the mode (drama | narration) at GATE 0. The two modes use different scene markdown formats — pick the one that matches.

drama mode (default — short drama)

Each scene-NN.md is one scene block in standard Shanyin format. Long shots, dialog & action drive the story.

markdown
## Scene N — <location> (<time of day>)

**Characters**: <characters in this scene, names from cast.json only>
**Pacing**: <external pacing> (external) + <internal pacing> (internal)
**Estimated duration**: <integer>s
**Backstory**: <one sentence — what the characters carry into this scene>

**Action**:
<2-4 sentences. Camera-visible action only. Shanyin red lines apply.>

**Dialog**:
- <Character A>: "<dialog>"
- <Character B>: "<dialog>"

narration mode (voiceover recap — "10-min recap" style)

A scene is a sequence of beats mixed freely between narration (third-person voiceover, becomes a TTS-driven narration shot) and dialog (in-scene dialog, becomes a regular drama shot). Each beat will be one shot at render time.

markdown
## Scene N — <location> (<time of day>)

**Type**: narration
**Characters**: <characters who appear in any beat — cast.json names only>
**Estimated duration**: <integer>s              # ≈ sum of beat durations
**Backstory**: <one sentence>

**Beats**:
1. **Narration**: "三年前, 钱夫人在七侠镇开了第一家青楼。"
   **Visual**: 长镜头扫过钱夫人在客栈门口插旗。Suggested duration: 4s
2. **Narration**: "她不爱江湖, 只爱黄金。"
   **Visual**: 钱夫人数银票, 香炉袅袅。Suggested duration: 4s
3. **Dialog**:
   - 钱夫人: "听说同福客栈又招新人了?"
   - 佟掌柜: "关你什么事。"
   **Visual**: 茶馆对峙, 长镜头。Suggested duration: 12s

Narration iron rules (beyond Shanyin red lines, narration-mode only):

  • Single narration line ≤ 2 sentences, ≤ 60 characters. Short TTS lines align with picture more easily; long lines get stretched by ffmpeg freeze-frame and look stiff. Say more by splitting into multiple consecutive narration beats.
  • Narration uses third-person narrative voice ("钱夫人来到镇上 / 没人知道他的真实身份"). Never disguise dialog as narration.
  • Dialog beat format matches drama mode — cast.json names only.
  • Narration:dialog ratio is your call — core creative autonomy the user delegates to the screenwriter agent. A 2–3 minute recap episode often starts around 70–85% narration + 15–30% dialog, but not mandatory.
  • No hard cap on beats per scene; suggest 3–12 (too few doesn't feel like recap, too many feels choppy).

The ## Scene N heading uses the same N as the filename.

Cast / lore overrides on top of Shanyin

These rules layer on top of the Shanyin SKILL — they're project glue, not craft, so they live here:

  1. Only use characters present in cast.json. Generic crowd is fine (Passerby A, onlookers, waiter). Anyone with a line or individual description must be in cast.json.

  2. **lore.forbidden terms must never appear in Action or Dialog.

  3. User-supplied dialog lines must appear verbatim in some scene. This is non-negotiable, regardless of what Shanyin craft suggests.

  4. Costume / hairstyle / accessories — only mention when it CHANGES. The character's baseline look is encoded in the cast reference sheet, so the director will never put it into a prompt. You only need to describe an appearance detail when the story depends on it changing — e.g. "陆辰换上婚礼礼服" / "苏晚摘下耳环掷在桌上" / "蓬头垢面". Otherwise leave appearance to the cast reference.

    • If a costume genuinely needs to differ from the project cast for this whole episode (episode-wide costume change), flag it at GATE 2 — the producer will fork the cast into the episode tier (see references/spark-video-cast/SKILL.md) and the new cast reference carries the change without any dialog gymnastics. Don't try to solve it by repeatedly mentioning the outfit.
  5. Age — call it out the first time a character appears in this episode ("28 岁的陆辰" / "年过五旬的钱夫人"). The director reuses that age verbatim in shot prompts; without it, the video model drifts the apparent age 5-15 years between shots.

  6. Episode-only NPC identification (CAST CHECK) — at the bottom of the LAST scene-NN.md, append a single HTML comment block:

    markdown
    <!-- CAST CHECK
    Leads (in cast):
      - <name>
    Named NPCs (need cast entry):
      - <name>: <one-line appearance for director cast reference sheet generation>
    Extras (no cast needed):
      - <generic label>
    -->

    The director uses this to generate NPC cast reference sheets before storyboarding.

  7. Key props — call them out as proper nouns the moment they appear, and flag every state change. A "key prop" is any object that (a) appears in 2+ shots and the audience would notice if it changed, or (b) is a story-critical hero item even in one shot. Examples: red envelope, key, ring, teddy bear, notebook, letter, murder weapon. Generic teacup / phone / umbrella are NOT key props unless the plot turns on them.

    Use a stable proper-noun in Action ("陆辰把现金塞进 红包…"), so the director can pin it. When the prop visibly changes state (intact → creased → torn / closed → open / new → worn / clean → bloodstained), make the change explicit in Action:

    陆辰握紧 红包, 边角已被攥出折痕 (起皱). 后景钱夫人冷笑。

    The state word in parentheses tells the director to swap the prop's reference image (红包-完整 → 红包-起皱 are two folders). Never describe the prop's visual properties (material / color / print / thickness) — the reference image owns those, the same way the cast reference owns face appearance. Only mention the narrative state and the action on the prop.

  8. Prop check (PROP CHECK) — append below CAST CHECK in the last scene-NN.md:

    markdown
    <!-- PROP CHECK
    Key props (need props/<name> folder):
      - 红包-完整: standard Chinese red envelope, flat with no creases  (appears in S01-003 / S01-007)
      - 红包-起皱: same red envelope creased from gripping (S03-002)
      - 红包-撕碎: same red envelope torn in half on screen (S03-003)
      - 戒指-完整: mother's heirloom, vintage gold ring, engraved inside (S02-005 / S05-001)
    -->

    Each entry is <prop_name>-<state>: <short description> (<shot id range>). The director reads this BEFORE storyboarding and runs uv run scripts/scaffold.py prop --name <name> + bl image generate ... for each entry, then sets Shot.props accordingly. Skip the block if the episode has no key props.

Pacing target

Read lore.duration_target_s if present. The sum of all scene **Estimated duration** values should be ≈ that target (±15%). The producer verifies this after storyboard.py compile.

TargetRecommended scene count
60s2–3 scenes
180s4–6 scenes
300s6–10 scenes
600s10–18 scenes

DON'Ts (spark-video-specific, on top of Shanyin red lines)

  • Don't write script.md or storyboard.json directly — only scenes/scene-NN.md.
  • Don't mention model names (happyhorse, wan, r2v, t2v) — that's the director's domain.
  • Don't write 图1/图2 prompt syntax — that's the director's domain.
  • Don't invent character names not in cast.json.
  • Don't skip the scene-NN.ready sentinel — the director won't start otherwise.
  • Don't keep re-describing wardrobe / hairstyle / makeup inside Action. Mention an appearance detail only when it CHANGES (rule 4 above).
  • Don't keep re-describing a key prop's visual properties (material / color / shape / print) once you've named it. The reference image owns those. Mention the prop's narrative state (intact / creased / torn, e.g. 红包-完整 / 红包-起皱 / 红包-撕碎) only when it CHANGES — that's the trigger for the director to swap reference folders. Same rule, applied to objects.
  • Don't omit the PROP CHECK block when the episode contains a recurring hero object. Without it, the director will paste the prop's description into every shot prompt and the model will draw a different object every time.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Spark Video Screenwriter;

Turn a user's premise into a structured screenplay (one scene at a time) for the spark-video pipeline. Wraps Shanyin Super Screenwriting Master when available — that upstream Shanyin SKILL is the single source of truth for craft when present.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Spark Video Screenwriter στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Spark Video Screenwriter είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Spark Video Screenwriter στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/JohnKeating1997/spark-video/tree/main/references/spark-video-screenwriter. Το TypingMind διαβάζει το αρχείο SKILL.md και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Spark Video Screenwriter;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Spark Video Screenwriter;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Spark Video Screenwriter με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Spark Video Screenwriter;

Δημοσιεύεται στο GitHub από τον λογαριασμό JohnKeating1997. Ελέγξτε το αποθετήριο για τους όρους αδειοδότησης. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇