Skip to content

Pixathon-Saavyas/InCapables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Generation in uagent and deltaV using Text Descriptions

In the context of deltaV, we've integrated an agent that leverages AI to generate images directly from text inputs. This agent uses the stabilityai/stable-diffusion-xl-base-1.0 API for image generation and imgbb for temporary image storage.

API Setup

To interact with the APIs, set up the necessary URLs and keys:

AGENT_MAILBOX_KEY =os.getenv("AGENT_MAILBOX_KEY")#get the key from agentverse
IMG_BB_API_URL = "https://api.imgbb.com/1/upload"#get the url from your imgbb
IMG_BB_API_KEY = os.getenv("IMG_BB_KEY")#get the key from imgbb
HUGGING_FACE_KEY=os.getenv("HUGGING_FACE_KEY")#get the key from Hugging face

Agent Configuration

Configure the agent responsible for image generation:

GetImage=Agent(name="GetImage",
               seed="alice recovery phrase",
               mailbox="your_mailbox_id@https://agentverse.ai",  # Replace with your actual mailbox ID
)

Sample Images

Below are fields that display a range of images generated by our agent:

  • Image 1: Optional_description
  • Image 2: Optional_description
  • Image 3: Optional_description
  • Image 4: Optional_description

Output on deltaV

Optional_description

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages