AIKitchen-API


NameAIKitchen-API JSON
Version 0.2.0 PyPI version JSON
download
home_pagehttps://github.com/mir-ashiq/AIKitchen-API
SummaryThis is an unofficial API designed to interact with Google AI Kitchen's Music and Image generation tools. It provides programmatic access to features like Music Generation and Image Generation.
upload_time2024-02-17 07:53:07
maintainer
docs_urlNone
authorAshiq Hussain Mir
requires_python
licenseMIT
keywords ai kitchen api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # AIKitchen-API

An unofficial Python API designed for seamless interaction with Google AI Kitchen's Music and Image generation tools. Unlock the potential of creative content generation through programmatic access to cutting-edge AI capabilities.

## Features

### Music Generation

- Generate audio tracks from text prompts.
- Control the number of tracks and adjust their duration (up to 30 seconds).

### Image Generation

- Generate visually captivating images based on textual prompts.
- Customize the number of images and control aspect ratios.

## Key Features

- **Modular Architecture:** Clearly defined classes for Music and Image functionalities, promoting code organization and readability.
- **Automated Login:** Utilizes Selenium for automated login and token management, streamlining user interactions.
- **Error Handling:** Robust error handling and logging for improved reliability and user feedback.
- **Security Considerations:** Encourages secure storage practices for sensitive information; explore further enhancements for security.
- **Documentation:** Includes inline comments for code clarity; consider adding docstrings for comprehensive documentation.

## Potential Use Cases

- Creative Projects: Experiment with AI-generated music and images for artistic endeavors.
- Application Integration: Integrate AI-generated content into applications, websites, or workflows.
- Automation: Automate content creation tasks using the API's versatile features.

## Important Notes

- This API is unofficial and may not be officially supported by Google AI Kitchen.
- Responsible AI Practices: Adhere to ethical AI principles and practices when using AI-generated content.
- Security Best Practices: Implement robust security measures, considering the sensitivity of information stored.

**Note:** For optimal usage, it is recommended to keep Two-Factor Authentication (2FA) off for the Google AI Kitchen account associated with this API to avoid login issues.

## Further Enhancements

- **API Documentation:** Develop extensive API documentation to guide users effectively.
- **Authentication Improvements:** Implement advanced authentication methods, such as OAuth2, for enhanced security.
- **Error Handling Refinement:** Continuously refine error handling for a seamless user experience.
- **Thorough Testing:** Conduct comprehensive testing to ensure the API's reliability in various scenarios.

## Installation

```bash
pip install AIKitchen-API
```

## Getting Started

```python
from AIKitchen_API import Login, Music, Image

# Login
login = Login(email="your_email@example.com", password="your_password")
token = login.token

#Music Generation
music = Music()
input = "Ambient, soft sounding music I can study to"
tracks = music.get_tracks(input, 2, token)

if isinstance(tracks, list):
    music.b64toMP3(tracks, input,)

#Image Generation 
image = Image()

input = 'Silver coin with a smiling cat, words "5 catnips" "handmade"'
images = image.get_image(input, 3, token)

if isinstance(images, list):
    image.b64toImg(images, input)
```

For more details, examples, and contribution guidelines, please refer to the [GitHub repository](https://github.com/mir-ashiq/AIKitchen-API).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/mir-ashiq/AIKitchen-API",
    "name": "AIKitchen-API",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "AI Kitchen API",
    "author": "Ashiq Hussain Mir",
    "author_email": "imseldrith@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/45/6d/f67397646de5ff11384a46446cf169a151ec3305869eee844b64032202e2/AIKitchen-API-0.2.0.tar.gz",
    "platform": null,
    "description": "# AIKitchen-API\r\n\r\nAn unofficial Python API designed for seamless interaction with Google AI Kitchen's Music and Image generation tools. Unlock the potential of creative content generation through programmatic access to cutting-edge AI capabilities.\r\n\r\n## Features\r\n\r\n### Music Generation\r\n\r\n- Generate audio tracks from text prompts.\r\n- Control the number of tracks and adjust their duration (up to 30 seconds).\r\n\r\n### Image Generation\r\n\r\n- Generate visually captivating images based on textual prompts.\r\n- Customize the number of images and control aspect ratios.\r\n\r\n## Key Features\r\n\r\n- **Modular Architecture:** Clearly defined classes for Music and Image functionalities, promoting code organization and readability.\r\n- **Automated Login:** Utilizes Selenium for automated login and token management, streamlining user interactions.\r\n- **Error Handling:** Robust error handling and logging for improved reliability and user feedback.\r\n- **Security Considerations:** Encourages secure storage practices for sensitive information; explore further enhancements for security.\r\n- **Documentation:** Includes inline comments for code clarity; consider adding docstrings for comprehensive documentation.\r\n\r\n## Potential Use Cases\r\n\r\n- Creative Projects: Experiment with AI-generated music and images for artistic endeavors.\r\n- Application Integration: Integrate AI-generated content into applications, websites, or workflows.\r\n- Automation: Automate content creation tasks using the API's versatile features.\r\n\r\n## Important Notes\r\n\r\n- This API is unofficial and may not be officially supported by Google AI Kitchen.\r\n- Responsible AI Practices: Adhere to ethical AI principles and practices when using AI-generated content.\r\n- Security Best Practices: Implement robust security measures, considering the sensitivity of information stored.\r\n\r\n**Note:** For optimal usage, it is recommended to keep Two-Factor Authentication (2FA) off for the Google AI Kitchen account associated with this API to avoid login issues.\r\n\r\n## Further Enhancements\r\n\r\n- **API Documentation:** Develop extensive API documentation to guide users effectively.\r\n- **Authentication Improvements:** Implement advanced authentication methods, such as OAuth2, for enhanced security.\r\n- **Error Handling Refinement:** Continuously refine error handling for a seamless user experience.\r\n- **Thorough Testing:** Conduct comprehensive testing to ensure the API's reliability in various scenarios.\r\n\r\n## Installation\r\n\r\n```bash\r\npip install AIKitchen-API\r\n```\r\n\r\n## Getting Started\r\n\r\n```python\r\nfrom AIKitchen_API import Login, Music, Image\r\n\r\n# Login\r\nlogin = Login(email=\"your_email@example.com\", password=\"your_password\")\r\ntoken = login.token\r\n\r\n#Music Generation\r\nmusic = Music()\r\ninput = \"Ambient, soft sounding music I can study to\"\r\ntracks = music.get_tracks(input, 2, token)\r\n\r\nif isinstance(tracks, list):\r\n    music.b64toMP3(tracks, input,)\r\n\r\n#Image Generation \r\nimage = Image()\r\n\r\ninput = 'Silver coin with a smiling cat, words \"5 catnips\" \"handmade\"'\r\nimages = image.get_image(input, 3, token)\r\n\r\nif isinstance(images, list):\r\n    image.b64toImg(images, input)\r\n```\r\n\r\nFor more details, examples, and contribution guidelines, please refer to the [GitHub repository](https://github.com/mir-ashiq/AIKitchen-API).\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "This is an unofficial API designed to interact with Google AI Kitchen's Music and Image generation tools. It provides programmatic access to features like Music Generation and Image Generation.",
    "version": "0.2.0",
    "project_urls": {
        "Homepage": "https://github.com/mir-ashiq/AIKitchen-API",
        "Source": "https://github.com/mir-ashiq/AIKitchen-API"
    },
    "split_keywords": [
        "ai",
        "kitchen",
        "api"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "89f73c12026317ac237853e0ff77e756841d05cae2a973468e5da4d24cdbf648",
                "md5": "64ad7b14ab1d468f98b525e4a5ced111",
                "sha256": "9147123427061319dfa0327a44bed0a6ea0cbcf1f2dd5dcd0e4fc9946277d51c"
            },
            "downloads": -1,
            "filename": "AIKitchen_API-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "64ad7b14ab1d468f98b525e4a5ced111",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 7869,
            "upload_time": "2024-02-17T07:53:05",
            "upload_time_iso_8601": "2024-02-17T07:53:05.571691Z",
            "url": "https://files.pythonhosted.org/packages/89/f7/3c12026317ac237853e0ff77e756841d05cae2a973468e5da4d24cdbf648/AIKitchen_API-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "456df67397646de5ff11384a46446cf169a151ec3305869eee844b64032202e2",
                "md5": "6dc3d41b7a9b5b8b23824425ac41e3ad",
                "sha256": "177d8cf708ac86535febb622ae109d7427a8577382902dfa6aeb601f66815c39"
            },
            "downloads": -1,
            "filename": "AIKitchen-API-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6dc3d41b7a9b5b8b23824425ac41e3ad",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6638,
            "upload_time": "2024-02-17T07:53:07",
            "upload_time_iso_8601": "2024-02-17T07:53:07.125999Z",
            "url": "https://files.pythonhosted.org/packages/45/6d/f67397646de5ff11384a46446cf169a151ec3305869eee844b64032202e2/AIKitchen-API-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-17 07:53:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mir-ashiq",
    "github_project": "AIKitchen-API",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "aikitchen-api"
}
        
Elapsed time: 0.21111s