Skip to content

Releases: BlockRunAI/blockrun-llm

v0.7.0 — Full X/Twitter Data via AttentionVC

13 Mar 00:35
dcb1985

Choose a tag to compare

New X/Twitter Endpoints (12 new methods)

All powered by AttentionVC, available on all clients (LLMClient, AsyncLLMClient, SolanaLLMClient):

User Data

  • x_user_info() — Single user detailed profile ($0.002)
  • x_verified_followers() — Verified/blue-check followers ($0.048/page)
  • x_user_tweets() — User's posted tweets ($0.032/page)
  • x_user_mentions() — Tweets mentioning a user ($0.032/page)

Tweet Data

  • x_tweet_lookup() — Batch tweet data, up to 200 IDs ($0.16/batch)
  • x_tweet_replies() — Replies to a tweet ($0.032/page)
  • x_tweet_thread() — Full tweet thread ($0.032/page)

Search & Intelligence

  • x_search() — Advanced X/Twitter search ($0.032/page)
  • x_trending() — Current trending topics ($0.002)
  • x_articles_rising() — Viral article detection ($0.05)
  • x_author_analytics() — Author intelligence metrics ($0.02)
  • x_compare_authors() — Compare two authors side-by-side ($0.05)

Install

pip install --upgrade blockrun-llm            # Base chain
pip install --upgrade blockrun-llm[solana]    # Base + Solana

v0.6.0 — X/Twitter Data, Search, Image Editing

12 Mar 19:51
b8cd834

Choose a tag to compare

What's New

X/Twitter Data (Powered by AttentionVC)

Direct access to X/Twitter user profiles, followers, and followings — no Grok needed.

  • x_user_lookup() — Batch user profile lookup ($0.002/user)
  • x_followers() — Get user's followers ($0.05/page, ~200 accounts)
  • x_followings() — Get user's followings ($0.05/page)

Standalone Search

Search web, X/Twitter, and news without a chat model:

  • search() — Returns summary + citations (~$0.25 for 10 sources)

Image Editing (img2img)

Edit existing images with text prompts:

  • image_edit() on LLMClient, AsyncLLMClient, SolanaLLMClient
  • edit() on ImageClient

All Chains Supported

Every new endpoint works on both Base (LLMClient) and Solana (SolanaLLMClient).

New Types

SearchResult, XUser, XUserLookupResponse, XFollower, XFollowersResponse, XFollowingsResponse

CI Fix

  • Install Solana extras in CI to fix test failures
  • Fix black + ruff formatting

Install / Upgrade

pip install --upgrade blockrun-llm
pip install --upgrade blockrun-llm[solana]  # + Solana

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