Skip to content

Releases: BlockRunAI/blockrun-llm

v0.2.0 - ImageClient

29 Dec 03:09
a99e521

Choose a tag to compare

What's New

ImageClient for Image Generation

  • New ImageClient class for generating images via x402 micropayments
  • Support for Nano Banana (Google Gemini) and DALL-E 3 models
  • Pay-per-image with USDC on Base

Usage

from blockrun_llm import ImageClient

client = ImageClient()  # Uses BLOCKRUN_WALLET_KEY from env
result = client.generate('A cute cat wearing a space helmet')
print(result.data[0].url)

Available Image Models

  • google/nano-banana - ~$0.05/image
  • google/nano-banana-pro - ~$0.10/image (up to 4K)
  • openai/dall-e-3 - ~$0.04-0.12/image
  • openai/gpt-image-1 - ~$0.02-0.17/image

v0.1.0

29 Dec 02:16
0f2748f

Choose a tag to compare

Add PyPI publish workflow