This flowchart outlines the process of generating a logo using three endpoints: /logo
, /feedback
, and /generate_image
.
description
: A description of what the logo should represent or look like.user_name
: The user’s name or identifier.project_name
: The name of the project for which the logo is being created.conversation_id
to track the user’s session.base64_image
to view the generated logo is provided.{
"description": "Life is all about semantics in New Mind",
"project_name": "Newmind AI Drop Down",
"user_name": "newmind_test_user"
}
{
"conversation_id": "fe3d62c5-7d55-4620-a981-a5d38199ce1d",
"base64_image": "iVBORw0KGgoAAAANSUhEU..."
}
/feedback
endpoint (e.g., “use brighter colors”).conversation_id
is passed to track the session.base64_image
for the updated logo is returned. {
"feedback_prompt": "Draw a simpler image",
"conversation_id": "fe3d62c5-7d55-4620-a981-a5d38199ce1d"
}
{
"base64_image": "iVBORw0KGgoAAAANSUhEU..."
}
Once the user is satisfied, they make a request to the /generate_image
endpoint.
The system returns the final logo in url format for download or use.
{
"conversation_id": "fe3d62c5-7d55-4620-a981-a5d38199ce1d"
}
{
"url": "https://example.com/path/to/logo.png"
}
/generate_image
to receive the final image with last image url./feedback
, provide feedback (e.g., change colors, adjust design), and request a new logo.Below is the visual representation of this process in the flowchart image.