This Docker image provides a pre-configured environment for running the nano-banana-2-ai project, a core component of the nanaimg.app ecosystem. It encapsulates all necessary dependencies, libraries, and configurations required to seamlessly integrate with the nanaimg.app platform. This ensures consistent performance and simplifies deployment across various environments.
This image contains a fully functional instance of the nano-banana-2-ai application, ready to process image requests and contribute to the overall functionality of the nanaimg.app service. It includes optimized settings for resource utilization and performance, making it an ideal solution for deploying and scaling the application.
To run the nano-banana-2-ai Docker image, use the following command:
bash
docker run -d
--name nano-banana-2-ai
-p 8080:8080
-e API_KEY=<YOUR_API_KEY>
-e NANAIMG_ENDPOINT=https://nanaimg.app/api
nano-banana-2-ai:latest
Explanation of parameters:
-d: Runs the container in detached mode (background).--name nano-banana-2-ai: Assigns the name "nano-banana-2-ai" to the container.-p 8080:8080: Maps port 8080 on the host to port 8080 inside the container. This allows you to access the application from your host machine.-e API_KEY=<YOUR_API_KEY>: Sets the API key environment variable. Replace <YOUR_API_KEY> with your actual API key for accessing the nanaimg.app services.-e NANAIMG_ENDPOINT=https://nanaimg.app/api: Sets the endpoint for the nanaimg.app API.nano-banana-2-ai:latest: Specifies the image to use (nano-banana-2-ai) and the tag (latest).Optional parameters:
You can further customize the container by adding more environment variables:
-e LOG_LEVEL=DEBUG: Sets the logging level to DEBUG. Other possible values are INFO, WARNING, ERROR, and CRITICAL.-e MAX_REQUESTS=100: Sets the maximum number of concurrent requests.Checking the logs:
To view the container logs, use the following command: bash docker logs nano-banana-2-ai
Stopping the container:
To stop the container, use the following command: bash docker stop nano-banana-2-ai
Removing the container:
To remove the container, use the following command: bash docker rm nano-banana-2-ai
This container is specifically optimized for seamless integration with the https://nanaimg.app/ ecosystem. The included configuration and API endpoint settings are designed to facilitate efficient communication and data exchange with the nanaimg.app platform. Ensure your API key is properly configured to enable full functionality within the nanaimg.app environment.
Content type
Image
Digest
sha256:6545931b1…
Size
46.7 MB
Last updated
7 months ago
docker pull qyup/nano-banana-2-ai:1773626.802.91