Skip to content

Ship StreamDiffusion playground with hosted-signer trial credits #2

Description

@rickstaa

Ship StreamDiffusion playground with sign-in-gated hosted-signer trial

Context

We need to tell Livepeer's story and start funnels that drive real usage — that traffic is what lets us harden the stack. The product could be capability consumption, app-on-the-network deployment, or both; we don't have to pick yet. The goal is a visible showcase of our components working together, so visitors can either integrate them into their own project or decide to run their own apps on the network.

Outcome

A first-time visitor signs in before their first run (a"Sign in to run" CTA), then runs StreamDiffusion from the dashboard on a free-plan trial budget with a personal key.

Scope

  • One hosted remote signer (Foundation free plan) with per-user ETH accounting — simplest thing that tracks spend against a cap.
  • Sign-in required before the first run. A free-plan trial budget is allocated per account. No anonymous sessions — so there's no anonymous-session tracking or anti-farming to build, and hosted-signer spend stays bounded to known accounts from the first run (lower abuse surface).
  • Sign-in flow on the dashboard; personal API key at /keys and embedded in the model page snippet.
  • /models/daydreamlive/streamdiffusion runs StreamDiffusion through the signer using the realtime SDK.
  • Card structure (camera in/out, arg controls, SDK+signer snippet) built manually but factored so another realtime workflow can be added by hand without rewriting the page.

Not in Scope

  • Billing, paid tiers, workspaces, teams, multi-tenant user logic. (Personal keys only. Whether to make auth/account logic workspace-aware from the start vs. retrofit later is a separate call — owned by John, who built workspaces on the operator dashboard. See Notes.)
  • Support for multiple payment houses.
  • On-chain / LPT / ticket UX.
  • Auto-generating cards from OpenAPI / container schemas (must remain possible later, not built now).
  • Other capability cards beyond StreamDiffusion.
  • Improvements to the SDK / snippet format to make the Python flow simpler.
  • Live network data on the card.
  • Polish, optimisation, scale.

Acceptance Criteria

  • A first-time visitor is prompted to sign in before they can run the job ("Sign in to run"); there is no anonymous run path.
  • Signed-in user runs the job on their free-plan trial budget; the snippet uses their key.
  • Out-of-credit and other signer errors render via the shared ErrorState.

Success Metrics

  • Primary: a non-team member lands on the dashboard, signs in, uses the card to try the job, and can run it from the Python snippet on their own machine.
  • Secondary: landing → sign-in conversion on the playground CTA.
  • Guardrail: signer spend per account stays inside the configured cap.

Notes / Dependencies

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions