prompt-to-image

Generate images from text prompts using the Gemini API.

7|1|Updated Mar 30, 2024
One-click install
npx skills add https://github.com/Lionad-Morotar/simple-local-llm-server --skill prompt-to-image
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-to-image
Source: https://github.com/Lionad-Morotar/simple-local-llm-server/tree/main/local-link/skills/prompt-to-image
Command: npx skills add https://github.com/Lionad-Morotar/simple-local-llm-server --skill prompt-to-image

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

将文本提示词生成图片。其目标是让用户从简单的文字描述快速获得可视化结果,省去自行搜索和艺术创作的时间。

Core Features & Use Cases

  • 从文本提示生成图片,支持中文和英文描述
  • 支持自定义模型名称,默认 gemini-3-pro-image-preview
  • 生成图片自动保存到本地目录 ~/.prompt-to-image/ 并可自动打开查看

Quick Start

Provide a text prompt and the system will generate and display the corresponding image locally.

Frequently Asked Questions about prompt-to-image

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate images from text prompts locally?

Yes, you can use text-to-image generation with both Chinese and English descriptions. The tool extracts the prompt from your input context and processes it to produce the corresponding visual output.

Does local text-to-image generation support custom models?

Generated images are automatically saved to the local directory ~/.prompt-to-image/ during the text-to-image process. The tool manages local file storage and can automatically open the saved file for immediate viewing.

What is the best way to automate AI art creation from text descriptions?

Automating AI art creation from text descriptions is best handled by parsing prompt inputs and querying the Gemini API directly. This approach eliminates manual searching and quickly yields locally stored visual results.

Do I need an API key to generate images from text prompts locally?

Generating images from text prompts locally requires interacting with the Gemini API, which implies you need the appropriate API credentials configured in your environment to execute the model queries successfully.