Text-to-Image Generation

Generate images from text prompts via 0G Compute Network providers running Flux Turbo.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/NickVanzo/hackathon-eth-global-2026 --skill text-to-image-generation-nickvanzo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Text-to-Image Generation
Source: https://github.com/NickVanzo/hackathon-eth-global-2026/tree/main/.claude/skills/text-to-image
Command: npx skills add https://github.com/NickVanzo/hackathon-eth-global-2026 --skill text-to-image-generation-nickvanzo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generating high-quality images from text prompts using distributed 0G Compute resources and Flux Turbo.

Core Features & Use Cases

  • Text-to-image generation across multiple resolutions with batch support, enabling scalable creative work.
  • End-to-end workflow: obtain service metadata, build a signed request with prompt, size, and n, issue the generation call, and process the provider's response for billing.
  • Real-world use: craft marketing visuals or product mockups from simple prompts and iterate quickly with different sizes and batches.

Quick Start

Provide a text prompt and a target image size to initiate a single-image generation via the 0G broker.

Frequently Asked Questions about Text-to-Image Generation

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

FAQPage Schema
How do I generate AI images from text prompts using distributed compute?

To generate AI images from text prompts, this skill builds a signed request with your prompt, target size, and batch count, then issues a generation call to 0G Compute Network providers running Flux Turbo.

What environment variables do I need to use the 0G broker for image generation?

You need a funded provider account, proper environment variables, and access to the 0g broker libraries to obtain service metadata, sign request headers, and process the generation response for billing.

Can I generate multiple images at once with Flux Turbo?

Yes, you can generate multiple images at once by specifying a batch count. The text-to-image generation request supports multiple resolutions and batch sizes for scalable creative workflows.

How does billing work when generating images on the 0G Compute Network?

Billing is finalized by extracting the ChatID from the response header after the image generation call completes. This ID is used to process usage and finalize billing for the compute resources consumed.