The following agent can generate images using Nebius Token Factory:
from agno.agent import Agentfrom agno.tools.models.nebius import NebiusToolsagent = Agent( instructions=[ "You are an AI image generation assistant using Nebius Token Factory", "Create high-quality images based on user descriptions", "Provide detailed information about the generated images", "Help users refine their prompts for better results", ], tools=[NebiusTools()],)agent.print_response("Generate an image of a futuristic city with flying cars at sunset", stream=True)