Repository navigation
Releases
v0.9.5
v0.9.3
v0.9.2 — Solana music TxHash
Bumps blockrun-llm-go to v0.22.1: on Solana, NewMusic's MusicResponse.TxHash is filled from the gateway's payment.tx_hash for both inline and slow tracks (it was always empty on a slow track).
v0.9.1 — Solana music and image poll with an ownership proof
Bumps blockrun-llm-go to v0.22.0. On Solana, NewMusic follows a slow track's 202 to completion instead of erroring after payment (a caller who retried paid twice), and NewMusic/NewImage poll with the x-poll-* wallet ownership proof instead of signing a payment per poll. Base and the account rail are unchanged.
v0.9.0 — Solana video polls sign an ownership proof
On Solana, Video polls a running job with the x-poll-wallet / x-poll-timestamp / x-poll-signature ownership proof (ed25519 over blockrun-poll:v1:video::) instead of signing a payment every poll. The finished job answers with a 402 and exactly one payment is signed then; a failed video is never charged. A completion payment whose outcome is unknown (settlement in progress, 503/504, lost in transit) keeps the job pending and re-polls; after 4 in a row Poll returns *VideoPaymentInDoubtError with the PollURL to resume from. A gateway that refuses the proof falls back to pay-per-poll for that job.
Behaviour changes: a 200 {"status":"failed"} now ends as failed on every rail; NewVideo on Solana rejects an undecodable key up front. Base and the account rail are otherwise unchanged.
Live-verified on sol.blockrun.ai 2026-10-11: a 2s video, 4 proof polls, one 0.101 USDC settlement.
v0.8.1 — Solana image cost booked at submit
Bumps blockrun-llm-go to v0.21.2. On Solana, ImageClient now books a slow image job's cost at submit (where the gateway settles) and failed/timed-out jobs no longer claim "no payment was taken". Base and the account rail are unchanged.
v0.3.1
Docs only.
- Adds docs/real-person-flow.md — the Go real-person guide: RealFace state machine, on-phone liveness walkthrough, Portrait (AI character) path, and the error/settlement reference.
- Notes that BlockRun holds ByteDance's creation-rights package, so subject upload (
real_face_asset_id) is licensed with no extra per-customer fee. - README links the guide.
No code changes since v0.3.0.
v0.3.0
Async video API. The gateway generates asynchronously; the client now mirrors that instead of only offering a blocking call:
video.Submit(ctx, prompt, opts)→ returns aVideoJobimmediately (this is the x402-paid leg). Job hasID,Status,PollURL.video.Poll(ctx, job)→ one status check (re-signs x402), updatesjob.Status; setsjob.Responseon completion.video.Wait(ctx, job)→ blocks until done.video.Generate(...)→ now shorthand for Submit+Wait (back-compat, unchanged signature).
RealFace/Portrait unchanged. Base only.
go get github.com/BlockRunAI/blockrun-llm-go-vip@v0.3.0v0.2.1
Fix: Seedance video now works end-to-end.
The gateway runs video generation asynchronously (POST → 202 + poll_url → GET-poll until completed). blockrun-llm-go's VideoClient does a single POST and errors on the 202, so the job was paid but never retrieved. vip.NewVideo() is now implemented natively here with the submit→poll loop (re-signing x402 each poll, same wallet). Verified on Base: seedance-2.0-fast returns a permanent MP4 URL.
RealFace / Portrait still reuse blockrun-llm-go. Base only.
go get github.com/BlockRunAI/blockrun-llm-go-vip@v0.2.1v0.2.0
Adds Seedance video support, reaching parity with Python blockrun-llm-vip 0.2.x.
vip.NewVideo()— ByteDance Seedance text-to-video (async submit→poll), verbatim completed-job JSON, permanent BlockRun-hosted MP4.vip.NewRealFace()— enroll a real, specific person (one-time on-phone liveness consent, no KYC) →ta_asset for identity-consistent Seedance 2.0.vip.NewPortrait()— enroll an AI character / mascot (single call, no liveness) →ta_asset.- Reuses blockrun-llm-go's x402-on-Base gateway clients; re-exports option/result types so callers don't import blockrun-llm-go directly.
Base only; Solana (chain="solana") still pending.
go get github.com/BlockRunAI/blockrun-llm-go-vip@v0.2.0