> ## Documentation Index
> Fetch the complete documentation index at: https://docs.riona.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# YouTube Script Writer

> Generate scripts for your video ideas.

<ResponseExample>
  ```json 200 theme={null}
  {
    "hook": {
      "timestamp": "00:00-00:20",
      "content": "Imagine starting each day feeling energized and ready to conquer the world. What if I told you that the secret to success might just lie in your morning routine?"
    },
    "introduction": {
      "timestamp": "00:20-00:40",
      "content": "Hey everyone! Welcome back to our channel. Today, we're diving into how you can transform your morning routine to set yourself up for success. Whether you're looking to boost productivity, enhance your mood, or simply start the day on a positive note, this video is for you!"
    },
    "mainBody": {
      "section1": {
        "timestamp": "00:40-01:10",
        "content": "First, let's talk about the power of waking up early. Studies show that early risers are often more proactive and better at anticipating problems. Try setting your alarm just 30 minutes earlier and see how much more you can accomplish."
      },
      "section2": {
        "timestamp": "01:10-01:40",
        "content": "Next, incorporate some form of exercise. Whether it's a quick jog, yoga, or even a dance party in your room, getting your body moving releases endorphins that boost your mood and energy levels."
      },
      "section3": {
        "timestamp": "01:40-02:10",
        "content": "Don't forget to fuel your body with a nutritious breakfast. Opt for foods high in protein and fiber to keep you full and focused throughout the morning. A smoothie with spinach, banana, and almond milk is a great option!"
      },
      "section4": {
        "timestamp": "02:10-02:40",
        "content": "Finally, take a few minutes for mindfulness. Whether it's meditation, journaling, or simply reflecting on your goals for the day, this practice can center your mind and set a positive tone."
      }
    },
    "engagementPrompts": {
      "timestamp": "02:40-02:50",
      "content": "What does your current morning routine look like? Drop a comment below and let us know how you plan to transform it!"
    },
    "valueAdditions": {
      "timestamp": "02:50-03:00",
      "content": "Did you know that morning people are generally happier and more satisfied with their lives? It's amazing how a few tweaks to your routine can make such a big difference."
    },
    "callToAction": {
      "timestamp": "03:00-03:10",
      "content": "If you found this video helpful, give it a thumbs up and share it with a friend who needs a morning routine makeover. And don't forget to subscribe for more tips on living your best life!"
    },
    "closing": {
      "timestamp": "03:10-03:20",
      "content": "Thanks for watching! Remember, a successful day starts with a successful morning. Until next time, keep striving for greatness!"
    }
  }
  ```
</ResponseExample>


## OpenAPI

````yaml api-reference/openapi-3.0.json get /wf/ai-youtube-script
openapi: 3.0.3
info:
  title: Riona API Docs
  version: 1.0.0
  contact:
    email: info@riona.ai
    url: https://riona.ai
servers:
  - url: https://riona.ai/api/1.1
security:
  - bearerAuth: []
tags:
  - name: Workflow
    description: Use this to trigger a workflow
  - name: Data
    description: Use this to fetch, modify and delete data
paths:
  /wf/ai-youtube-script:
    get:
      tags:
        - Workflow
      description: Triggers the workflow ai-youtube-script
      operationId: get_wf_ai-youtube-script
      parameters:
        - name: title
          in: query
          required: false
          description: YouTube Video title.
          schema:
            type: string
        - name: audience
          in: query
          required: false
          description: >-
            Examples: 

            - Young professionals aged 25–35 seeking career growth.

            - College students interested in budget travel.

            - Parents looking for ealthy meal ideas for kids.

            - Fitness enthusiasts aiming to build muscle at home.

            - Tech lovers who want the latest gadget reviews.

            - Small business owners wanting social media marketing tips.

            - Eco-conscious consumers seeking sustainable lifestyle hacks.

            - Cryptocurrency investors and blockchain enthusiasts.

            - Sports fans following international football news.

            - Beauty and fashion followers looking for makeup tutorials and
            styling tips.
          schema:
            type: string
        - name: niche
          in: query
          required: false
          description: >-
            Targeted Niche, if you would like to focus the ideas on a specific
            category or a niche add it here.


            Categories Examples: `Fitness & Health` | `Technology` | `Food`

            Niches Examples: `ASMR` | `Shoes` | `Bicycles` | `NFT`
          schema:
            type: string
        - name: duration
          in: query
          required: false
          description: default is `3`, Max is `10`
          schema:
            type: number
            default: 3
        - name: tone
          in: query
          required: false
          description: >-
            Examples: `Engaging` | `Conversational` | `Humorous` |
            `Light-hearted` | `Professional` | `Educational` | `Storytelling` |
            `Inspirational` | `Energetic`
          schema:
            type: string
        - name: cta
          in: query
          required: false
          description: >-
            Call-to-Action Goal: e.g., subscribe, visit website, buy product,
            join community
          schema:
            type: string
        - name: api_key
          in: query
          required: true
          description: >-
            This is your account API Key. You can easily locate it in your
            account dashboard.
          schema:
            type: string
      responses:
        '200':
          description: OK
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````