Skip to main content

Choose Your Bed: Automated Content Creation

choose-your-bed is a Python library designed to automate the creation of "choose your bed" style content, inspired by and integrable with the workflows described at https://supermaker.ai/blog/how-to-make-the-viral-choose-your-bed-videos-with-ai/. This library simplifies the process of generating engaging visual content based on user-defined scenarios.

Installation

Install the choose-your-bed package using pip: bash pip install choose-your-bed

Basic Usage

Here are a few examples demonstrating how to use the choose-your-bed library:

Scenario 1: Morning Routine python from choose_your_bed import Scenario

morning_scenario = Scenario( title="Choose Your Bed: Morning Routine", beds=[ {"name": "The Snooze Zone", "description": "Hit snooze and dream a little longer.", "outcome": "You're late for work!"}, {"name": "The Productive Palace", "description": "Wake up refreshed and ready to conquer the day.", "outcome": "You crush your to-do list."}, {"name": "The Coffee Oasis", "description": "Wake up and grab a cup of coffee to start the day.", "outcome": "You feel refreshed and ready to go!"} ] )

You can then use this scenario data to generate content (e.g., video scripts, image prompts)

print(morning_scenario.to_dict())

Scenario 2: Weekend Plans python from choose_your_bed import Scenario

weekend_scenario = Scenario( title="Choose Your Bed: Weekend Plans", beds=[ {"name": "The Netflix Nest", "description": "Binge-watch your favorite shows all weekend.", "outcome": "You feel relaxed but slightly guilty."}, {"name": "The Adventure Arena", "description": "Explore the great outdoors and try something new.", "outcome": "You create lasting memories."}, {"name": "The Social Sanctuary", "description": "Go out with friends and enjoy good times.", "outcome": "You have an unforgettable night!"} ] )

Accessing individual bed options:

first_bed = weekend_scenario.beds[0] print(f"First Bed Name: {first_bed['name']}") print(f"First Bed Description: {first_bed['description']}")

Scenario 3: Dealing with Stress python from choose_your_bed import Scenario

stress_scenario = Scenario( title="Choose Your Bed: Dealing with Stress", beds=[ {"name": "The Worry Whirlpool", "description": "Overthink every possible outcome.", "outcome": "You feel overwhelmed and anxious."}, {"name": "The Relaxation Retreat", "description": "Practice mindfulness and self-care.", "outcome": "You feel calm and centered."}, {"name": "The Activity Hub", "description": "Work out and release endorphins.", "outcome": "You feel energized and clearheaded."} ] )

Generating a JSON representation of the scenario

import json print(json.dumps(stress_scenario.to_dict(), indent=4))

Scenario 4: Choosing a Career Path python from choose_your_bed import Scenario

career_scenario = Scenario( title="Choose Your Bed: Career Path", beds=[ {"name": "The Familiar Fortress", "description": "Stay in your current job, even if it's unfulfilling.", "outcome": "You feel safe but stagnant."}, {"name": "The Risk Realm", "description": "Take a leap of faith and pursue your passion.", "outcome": "You feel challenged and inspired."}, {"name": "The Education Emporium", "description": "Go back to school to learn new skills.", "outcome": "You feel knowledgeable and prepared."} ] )

Feature List

  • Scenario Definition: Easily define "choose your bed" scenarios with titles, bed options, descriptions, and outcomes.
  • Data Structure: Scenarios are structured as Python objects for easy manipulation and access.
  • JSON Export: Scenarios can be exported to JSON format for integration with other tools and platforms.
  • Flexibility: The library is designed to be flexible and adaptable to various content creation workflows.
  • Clear Documentation: Comprehensive documentation is provided to help you get started quickly.

License

MIT License

This project is a gateway to the choose-your-bed ecosystem. For advanced features and full capabilities, please visit: https://supermaker.ai/blog/how-to-make-the-viral-choose-your-bed-videos-with-ai/

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

choose_your_bed-1769166.238.912.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

choose_your_bed-1769166.238.912-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file choose_your_bed-1769166.238.912.tar.gz.

File metadata

File hashes

Hashes for choose_your_bed-1769166.238.912.tar.gz
Algorithm Hash digest
SHA256 331f99818fd79a0c77f6d45ccee23bdc624f139323c208f0490d250054877a66
MD5 f60139b67ece07dde521d7ffdf644a98
BLAKE2b-256 b22620641ecbd304a9df92c7ea7d53d838c250f01db4cfe791c10f900a29b6ff

See more details on using hashes here.

File details

Details for the file choose_your_bed-1769166.238.912-py3-none-any.whl.

File metadata

File hashes

Hashes for choose_your_bed-1769166.238.912-py3-none-any.whl
Algorithm Hash digest
SHA256 7f6041739ea1daf17ddc1cf9e06679a8100a5023e0a704e315a80bfa8e2e74e8
MD5 4a78ae2a4eaffa3039b00ea229ff89f7
BLAKE2b-256 c00a498a78e8fbca137c4a8aad8907f7a116ce30dc31bda4ca8415c9167b6ea7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1769166.238.912 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page