Skip to content

AleenDhar/Youtube-shorts-creation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YOUTUBE CONTENT GENERATION AGENT

Made by: Aleen Dhar and Shivam Singh

The YOUTUBE CONTENT GENERATION AGENT uses Fetch.ai's uagent technology to automatically create Image , Story and an Audio narration of the story.

The agent is ready to be integrated with DeltaV

At first we were tasked with just itegrating a huggingface api with uagents and integrating it with DeltaV, but later we thought of creating something that is has a real business usecase. So we integrated 3 more APIs Cloudinary Google Gemini, ElevenLabs and Cloudinary. Elevenlabs can create synthetic voice indistinguishible from a real human voice. Cloudinary is used to store the images and audio files online so that we can pass the link to the users in DeltaV

Images that it creates

chrome_KTvdvWXwK9

Story that it generated

In the ethereal void, a colossal battle raged. Gojo Satoru, the blindfolded sorcerer supreme, stood unyielding against the monstrous form of Sukuna, the King of Curses.

Gojo's eyes, normally sealed behind his iconic blindfold, crackled with celestial energy. His Limitless technique distorted the very fabric of space, creating an impenetrable wall around him. Sukuna, his grotesque body adorned with cursed markings, snarled in frustration.

As the clash intensified, Gojo's curses danced through the void, their shadowy forms seeking to devour Sukuna. The King of Curses responded with his own cursed techniques, unleashing a torrent of darkness and malevolence.

Sukuna's fingers turned into sharp claws, each imbued with a lethal curse. He lunged at Gojo, but the sorcerer's Infinity technique effortlessly repelled his attacks. Limitless became an absolute barrier, preventing even the slightest contact.

Undeterred, Sukuna summoned a vast army of cursed spirits. They swarmed Gojo relentlessly, but the Limitless barrier held firm. With a flick of his wrist, Gojo unleashed a devastating shockwave, scattering the spirits like dust.

As the battle reached its crescendo, Gojo's Domain Expansion, Unlimited Void, enveloped the battlefield. The void consumed all light and sound, leaving only an endless expanse of darkness. Sukuna's curses were rendered useless, their forms dissipating into nothingness.

Finally, with a surge of energy, Gojo unleashed his most powerful attack: Hollow Purple. A torrent of concentrated curse energy burst forth, illuminating the void with a blinding light.

Sukuna's monstrous form screamed in agony as the attack tore through his body. The King of Curses was reduced to a writhing mass of cursed energy, his consciousness fading.

Audio that it created

audio.webm

Working on DeltaV

chrome_8i7w3JbuAG

Environment Setup:

  1. make a .env file and copy paste the following code
AGENT_MAILBOX_KEY=
HUGGING_FACE_ACCESS_TOKEN=
gemini_api_key=

elevenlabs_api_key=
eleven_voice_id=

cloudinary_cloud_name=
cloudinary_api_key=
cloudinary_api_secret=
  1. get AGENT_MAILBOX_KEY from https://agentverse.ai/mailroom
  2. get HUGGING_FACE_ACCESS_TOKEN from https://huggingface.co/settings/tokens
  3. get gemini_api_key from https://aistudio.google.com/app/u/2/apikey
  4. get elevenlabs_api_key from https://elevenlabs.io/ and sign up, click on your icon and choose Profile + API key
  5. eleven_voice_id from https://elevenlabs.io/app/voice-lab.
  6. get cloudinary_cloud_name, cloudinary_api_key,cloudinary_api_secret from https://console.cloudinary.com/pm/c-2975fa68853eb272867546601d974b/getting-started

Setup

  1. In the main directory install all dependencies

    python -m poetry install

Running The Main Script

To run the project, use the command:

```
cd src
pyhton -m poetry run python main.py
```

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages