コンテンツへスキップ

Ebook Workflow

Create complete ebooks with AI-generated chapters, professional structure, and export to PDF and EPUB formats.

7
Stages
2
Approval Gates
5-20
Chapters
GPT-4
AI Provider

Overview

The Ebook Workflow enables automated creation of complete ebooks from a topic description. The AI generates a structured outline, then creates detailed content for each chapter with human review at key stages.

Key Features
  • Intelligent outline generation
  • Chapter-by-chapter content creation
  • Consistent tone and style
  • Table of contents generation
  • PDF and EPUB export
Output Formats
  • PDF: Print-ready with formatting
  • EPUB: E-reader compatible
  • HTML: Web-viewable chapters
  • Markdown: Raw content export
Ebook Creation Wizard

Ebook creation wizard in the portal

Stage Breakdown

1
Discovery

Gather book topic, target audience, and preferences

2
Generate Outline

AI creates chapter structure and summaries

3
Outline Review Approval

Human reviews and approves chapter structure

4
Create Chapter Tasks

System creates tasks for each chapter

5
Generate Chapters

AI writes content for each chapter

6
Chapter Review Approval

Human reviews each chapter with feedback option

7
Publish

Export to PDF/EPUB and finalize

Configuration Options

Parameter Type Description
book_title String Title of the ebook
topic Text Main topic or subject matter
chapter_count Integer Desired number of chapters (5-20)
target_audience String Who the book is written for
writing_style Selection "professional", "casual", "academic", "conversational"
chapter_length Selection "short" (~1000 words), "medium" (~2500), "long" (~5000)

API Examples

Python
# Create an ebook project
template = env.ref('ai_workflow_ebook_creator.ebook_template')

project = env['project.project'].create({
    'name': 'Python Programming Guide',
    'ai_template_id': template.id,
    'ai_params': {
        'book_title': 'Python Programming for Beginners',
        'topic': 'Introduction to Python programming language',
        'chapter_count': 10,
        'target_audience': 'Beginner programmers',
        'writing_style': 'conversational',
        'chapter_length': 'medium',
    }
})

# Start generation
project.action_start_workflow()

# Test with auto-approval
gen = env['ebook.super.test'].create({
    'auto_approve': True,
    'run_ai': True
})
gen.generate_and_run()