All Products
Search
Document Center

AnalyticDB:AI Screenwriter Assistant

Last Updated:Jun 23, 2026

AnalyticDB for PostgreSQL provides AI-powered script creation capabilities for short-form dramas, built on GraphRAG (Graph-Augmented Retrieval and Generation) and AnalyticDB for PostgreSQL technologies. Unlike the traditional "prompt-based video generation" model, the AI Screenwriter Assistant is an intelligent creative system that ensures character consistency, plot continuity, personalized storytelling, and continuous evolution.

Features

Feature

Description

Script creation and personalized configuration

Offers an end-to-end script generation workflow with granular parameter controls, allowing you to generate scripts in your desired style and at your preferred pace. It supports both Quick Configuration and Advanced Customization modes to meet various creative needs.

Imitation and adaptation

Extracts the core narrative framework from an original work and adapts it to a new genre. You can choose from three levels of framework retention: Simplified, Standard, and Complete.

One-click script optimization/Manual intervention

You can fine-tune generated scripts using two methods: AI-powered optimization and manual editing.

AI assistant

An agent embedded in the workbench that provides creative suggestions, such as script analysis, dialogue diagnostics, and character development summaries.

Quality report and self-iterative optimization

Automatically assesses scripts across ten dimensions and supports one-click bulk fixes, creating a closed-loop process of "Generate → Inspect → Repair".

Generate video prompts

Automatically breaks down the script into scene elements to generate a prompt for each scene that video generation models can use directly.

Script creation and configuration

The AI Screenwriter Assistant provides an end-to-end script generation workflow with fine-grained parameter controls. You can choose between Quick Configuration and Advanced Customization modes.

Quick configuration

Quick Configuration offers out-of-the-box, scene-based templates and core parameter options, ideal for quickly starting a creative project.

The system includes four built-in templates for short-form dramas, each with default settings for duration, pacing, and content style that you can customize:

Template

Episode duration

Pacing mode

Content focus

Viral Sensation

30 seconds

Extreme

Dialogue-intensive

Fast-paced Short Drama

1 minute

Extreme

Dialogue-intensive

High-quality Micro-drama

3 minutes

Standard

Emotionally nuanced

Long-video Series

5 minutes

Relaxed

Balanced

You can also provide personalized requirements, for example:

Style-related
"I want a lighthearted and humorous script, not too dramatic."
"The narrative style should be suspenseful and tense, with concise, punchy dialogue."

Plot-related
"Strengthen the workplace conflict plot and weaken the romance storyline."
"No love triangles; include more descriptions of friendship and family."

Character-related
"The female lead should be independent and strong, not a naive damsel in distress."
"Focus on the relationship between the protagonist and their mentor."

Constraint-related
"No violent or graphic scenes."
"Must include a plot twist."

Advanced customization

Advanced Customization is designed for users who need fine-grained creative control, offering more in-depth parameters.

  • Basic settings

    Parameter

    Description

    Script Format

    Choose between Standard format (with scene descriptions, character dialogue, and action cues) or Narration format (voice-over driven, suitable for animated recaps or narrated live-action dramas).

    Episode Duration

    Adjustable from 30 seconds to 10 minutes.

    Target Episode Count

    Set the episode count automatically or specify it manually.

    Adaptation Mode

    Options include Faithful Adaptation, Standard Adaptation (70%–80% fidelity), Creative Adaptation, and Framework Imitation. Framework Imitation is a distinct creative mode that extracts a structural framework to create a new work and is not measured by fidelity.

  • Pacing control

    Parameter

    Description

    Plot conflict points (per episode)

    Three levels: Relaxed, Standard, and Tight. Standard mode averages about three conflict points per episode for a balanced pace.

    Emotional hooks (per episode)

    Three levels: Concise, Standard, and Rich. Standard mode averages about five emotional hooks per episode.

  • Dialogue control

    Parameter

    Description

    Dialogue density

    Freely adjustable from 10% to 70%, with quick selection presets: Low, Standard, High, and Intensive.

    Character count per line

    Adjustable from 15 to 30 characters using a slider to precisely control the rhythm of the dialogue.

The Advanced Customization mode also supports personalized requirements, for example:

Style-related
"I want a lighthearted and humorous script, not too dramatic."
"The narrative style should be suspenseful and tense, with concise, punchy dialogue."

Plot-related
"Strengthen the workplace conflict plot and weaken the romance storyline."
"No love triangles; include more descriptions of friendship and family."

Character-related
"The female lead should be independent and strong, not a naive damsel in distress."
"Focus on the relationship between the protagonist and their mentor."

Constraint-related
"No violent or graphic scenes."
"Must include a plot twist."

Imitation and adaptation

Framework imitation is a creative mode separate from fidelity-based adaptation. The system extracts the core narrative framework (structure, conflict patterns, emotional arcs, and character relationships) from the original work and transfers it to a new target genre. The output is entirely independent of the original work in its expression, making it ideal for cross-genre adaptation.

Use cases

  • Cross-genre web novel adaptation: For example, rewriting a "modern urban" genre into "ancient court" or "Republican-era legend".

  • Hit story framework recreation: Retain classic hit structures while replacing the world-building, characters, and plot details.

  • Companion series or spin-off creation for existing IPs.

Step-by-step adaptation process

Framework adaptation consists of 7 steps, each of which allows manual intervention:

Step

Description

Framework configuration

Select a hit template and generate an initial creative description.

Story background

Generate a complete world-building and era setting.

Character setup

Generate main character profiles (personality, identity, motivation, relationships).

Main storyline

Design core objectives, character growth arcs, and emotional themes.

Full series outline

Design structure, cliffhangers, landing points, and paywall hooks.

Episode outline

Generate outlines, key conflicts, emotional climaxes, and ending suspense for each episode.

Screenplay body

Generate shootable screenplay text based on episode outlines.

After each step is complete, we recommend manual review. If necessary, click Regenerate This Step to adjust the results before proceeding to the next step.

Hit short drama templates

The console includes 24 built-in hit templates in three categories:

Category

Representative templates

Female-oriented

Marriage-first sweet romance, CEO sweet romance, book-transmigration supporting female lead revenge, real vs fake heiress revenge, reborn revenge queen, chasing wife crematorium, wealthy family angst romance, historical strong female lead

Male-oriented

Reborn revenge, dragon king returns, workplace revenge, son-in-law revenge, tycoon system, fantasy cultivation, reborn business emperor, divine healer descends

Gender-neutral

Time-travel fantasy sweet, quick-transmigration revenge system, power couple, double life, substitute revenge, historical detective romance, entertainment circle top star, Republican-era spy romance

Target genre

Select the genre for the new script. The system automatically maps the original framework to the corresponding world-building and narrative context of the chosen genre. The platform has built-in world-building for the following six genres:

  • Modern Urban

  • Ancient Imperial Court

  • Xuanhuan/Xianxia

  • Sci-fi Future

  • Republican-era Legend

  • Wuxia/Jianghu

Framework retention level

Control how much of the original framework is extracted and transferred to the new work:

Level

Retained content

Discarded content

Simplified

Retains only the main conflict structure.

Specific conflict details, emotional arcs, and character relationship networks.

Standard

Retains the story structure and core conflict patterns.

Details of emotional arcs and minor character relationships.

Complete

Retains the complete story framework and all key elements, including structure, conflict patterns, emotional arcs, and character relationships.

Discards only surface-level content such as specific dialogue and scene details.

Script optimization and editing

You can fine-tune a generated script in the workbench using two methods, balancing efficiency with precision.

  • AI optimization

    Enter your optimization suggestions below the target episode's content. The system interprets your intent and revises the script automatically.

  • Manual editing

    Click the edit button next to an episode to modify the script content directly. This method is ideal for scenarios requiring precise control over the output.

AI assistant

The AI assistant, an agent embedded in the creation workbench, acts as an on-demand script analysis consultant to help you diagnose script issues and provide creative suggestions.

The AI assistant automatically links to the script project in your workbench and can perform in-depth analysis on specific episodes or the overall plot. Common use cases include:

  • Dialogue quality diagnosis: Analyze whether the character dialogue in a specific episode is natural and fluent.

  • Cross-episode comparative analysis: Compare the pacing between different episodes to identify issues with plot tension.

  • Character development summary: Outline the personality growth and emotional changes of main or supporting characters.

Note

The AI assistant focuses on script analysis and creative suggestions. To modify the script content directly, use the Manual editing or AI optimization features for each episode in the workbench.

Quality report and iterative optimization

After a script is generated, the system automatically triggers a quality inspection process. It provides an overall score and a list of issues by assessing the script across the following ten dimensions:

  • Structure and Pacing

  • Character Development

  • Conflict and Drama

  • Dialogue Quality

  • Visual Storytelling

  • Emotional Resonance

  • Logical Consistency

  • Thematic Expression

  • Formatting Compliance

  • Market Fit

For issues identified during the inspection, you can use one-click smart optimization to automatically fix them in bulk by episode. You can also add custom optimization requirements, creating a complete "Generate → Inspect → Repair" loop that eliminates the need for manual, line-by-line corrections.

Generate video prompts

Once the script is ready, click Generate Video Prompts to submit a prompt generation task. The system automatically breaks down the script into key elements such as scenes, character actions, and atmosphere, generating a prompt for each scene that can be used directly by video generation models. This connects the script creation process to the video production pipeline.

Enable AI Screenwriter Assistant

Create a Creative Studio service. For more information, see Context service.

Community support

If you have any questions or suggestions, please join the AI Screenwriter Assistant DingTalk user group: 154575028158.

image