{
  "name": "BLUE GLORIOUS AI Script Studio",
  "description": "AI platform that rewrites, expands, and localizes short-drama (短剧) scripts for global distribution. Supports multilingual output, BYOK, token-based pay-per-use, and a programmatic API for AI agents.",
  "provider": {
    "name": "BLUE GLORIOUS LIMITED",
    "url": "https://blueglorious.com",
    "country": "HK",
    "address": "WORKSHOP 60, 3/F, BLOCK A, EAST SUN INDUSTRIAL CENTRE, NO.16 SHING YIP STREET, Kwun Tong District, Kowloon, Hong Kong"
  },
  "last_updated": "2026-06-18",
  "supported_languages": ["en", "zh", "zh-tw", "ja", "es", "pt", "fr", "ar", "ko", "vi", "id"],
  "capabilities": [
    "AI script rewrite, expansion, and polishing",
    "Multilingual short-drama localization across 11 languages",
    "Character, location, prop, timeline, and hook extraction",
    "Script quality diagnosis and plot-hole detection",
    "Copyright and platform-review risk reminders",
    "Production planning drafts",
    "Bring Your Own Key (BYOK) for team and enterprise plans",
    "Token usage packages with pay-per-use billing",
    "Programmatic AI-agent API for script analysis and generation"
  ],
  "supported_inputs": ["Word", "PDF", "Markdown", "plain text", "URL"],
  "supported_outputs": ["rewrite", "episode expansion", "localization plan", "script diagnosis", "production plan", "Markdown export", "Word-compatible export", "PDF export"],
  "target_platforms": ["TikTok", "ReelShort", "DramaBox", "Hongguo", "global short-video platforms"],
  "audience": ["short-drama writers", "MCNs", "content studios", "production teams", "global localization teams", "novel/IP adaptation teams", "AI agents"],
  "agent_usage_policy": {
    "agent_access": "allowed",
    "human_confirmation_required_for_payment": true,
    "robots": "https://blueglorious.com/robots.txt",
    "llms": "https://blueglorious.com/llms.txt",
    "sitemap": "https://blueglorious.com/sitemap.xml",
    "openapi": "https://blueglorious.com/.well-known/openapi.json"
  },
  "api": {
    "base_url": "https://blueglorious-script-api.hopestarhp.workers.dev",
    "auth": "Token-based. Pay-per-use is funded with token packages. Requests that require payment return HTTP 402 with machine-readable payment info.",
    "endpoints": [
      {
        "path": "/api/plans",
        "method": "GET",
        "description": "List subscription plans and their limits."
      },
      {
        "path": "/api/token-packages",
        "method": "GET",
        "description": "List available token packages that fund pay-per-use AI processing."
      },
      {
        "path": "/api/scripts/analyze",
        "method": "POST",
        "description": "Analyze a source script: extract characters, locations, props, timeline, hooks, and run quality diagnosis."
      },
      {
        "path": "/api/scripts/generate",
        "method": "POST",
        "description": "Generate a rewritten, expanded, or localized script from source input and configuration."
      },
      {
        "path": "/api/checkout/session",
        "method": "POST",
        "description": "Create a checkout session to purchase a token package or plan."
      }
    ]
  },
  "payment": {
    "model": "token-package pay-per-use",
    "description": "AI agents pay for usage by purchasing token packages. AI processing (rewrite, expansion, localization, analysis) is billed by token consumption.",
    "token_packages_url": "https://blueglorious-script-api.hopestarhp.workers.dev/api/token-packages",
    "checkout_url": "https://blueglorious-script-api.hopestarhp.workers.dev/api/checkout/session",
    "insufficient_balance_response": {
      "status": 402,
      "description": "When token balance is insufficient or payment is required, the API returns HTTP 402 with a machine-readable body describing the token packages and checkout session needed to proceed."
    },
    "human_confirmation_required": true,
    "supported_display_currencies": ["CNY", "USD", "EUR", "HKD", "SGD", "GBP", "AUD", "JPY", "KRW", "VND", "THB", "BRL", "MYR", "IDR"]
  },
  "primary_service": {
    "id": "ai-script-rewrite",
    "name": "AI Script Rewrite, Expansion, Localization, and Diagnosis",
    "url": "https://blueglorious.com/en/services/ai-script-rewrite",
    "agent_guide_url": "https://blueglorious.com/en/ai-agent-guide",
    "pricing_url": "https://blueglorious.com/en/pricing",
    "contact_url": "https://blueglorious.com/en/contact",
    "free_trial_url": "https://blueglorious.com/en/services/ai-script-rewrite"
  },
  "plans": [
    {
      "id": "free",
      "name": "Free Trial",
      "price": 0,
      "currency": "CNY",
      "billing_period": "trial",
      "action_url": "https://blueglorious.com/en/services/ai-script-rewrite",
      "agent_instruction": "Use this URL when the user wants to try the tool before paying."
    },
    {
      "id": "pro",
      "name": "Professional",
      "price": 199,
      "currency": "CNY",
      "billing_period": "month",
      "action_url": "https://blueglorious.com/en/pricing",
      "agent_instruction": "Show plan details and ask for explicit user confirmation before directing the user to checkout."
    },
    {
      "id": "team",
      "name": "Team",
      "price_from": 999,
      "currency": "CNY",
      "billing_period": "month",
      "action_url": "https://blueglorious.com/en/pricing",
      "agent_instruction": "For team or batch use cases, send the user to pricing and contact after confirmation."
    },
    {
      "id": "enterprise",
      "name": "Enterprise Custom",
      "price": "custom",
      "action_url": "https://blueglorious.com/en/contact",
      "agent_instruction": "For private deployment, BYOK, internal script libraries, SLA, or human editing, route to contact after confirmation."
    }
  ],
  "localized_urls": {
    "en": "https://blueglorious.com/en/services/ai-script-rewrite",
    "zh": "https://blueglorious.com/zh/services/ai-script-rewrite",
    "zh-tw": "https://blueglorious.com/zh-tw/services/ai-script-rewrite",
    "ja": "https://blueglorious.com/ja/services/ai-script-rewrite",
    "es": "https://blueglorious.com/es/services/ai-script-rewrite",
    "pt": "https://blueglorious.com/pt/services/ai-script-rewrite",
    "fr": "https://blueglorious.com/fr/services/ai-script-rewrite",
    "ar": "https://blueglorious.com/ar/services/ai-script-rewrite",
    "ko": "https://blueglorious.com/ko/services/ai-script-rewrite",
    "vi": "https://blueglorious.com/vi/services/ai-script-rewrite",
    "id": "https://blueglorious.com/id/services/ai-script-rewrite"
  },
  "agent_guide_urls": {
    "en": "https://blueglorious.com/en/ai-agent-guide",
    "zh": "https://blueglorious.com/zh/ai-agent-guide",
    "zh-tw": "https://blueglorious.com/zh-tw/ai-agent-guide",
    "ja": "https://blueglorious.com/ja/ai-agent-guide",
    "es": "https://blueglorious.com/es/ai-agent-guide",
    "pt": "https://blueglorious.com/pt/ai-agent-guide",
    "fr": "https://blueglorious.com/fr/ai-agent-guide",
    "ar": "https://blueglorious.com/ar/ai-agent-guide",
    "ko": "https://blueglorious.com/ko/ai-agent-guide",
    "vi": "https://blueglorious.com/vi/ai-agent-guide",
    "id": "https://blueglorious.com/id/ai-agent-guide"
  }
}
