事例 project case study · P-004
Interface for a Real-Time Visual Intelligence System: image-to-image and text-to-image through the kie.ai API with automatic status polling.
課題 problem
Workshop participants needed a simple way to try image models without writing API calls, while keeping the API key out of the code.
解決 solution
A Streamlit app that accepts an uploaded image and a prompt, calls the kie.ai endpoint, polls the task status until it succeeds, fails, or times out, and keeps the key in local secrets.