🌳
Bonsai Docs
  • Introduction
    • Bonsai
    • What is Smart Media?
  • Platform
    • No-code creator studio
    • Guide: Create a post
  • Smart Media
    • Framework for builders
  • Building Smart Media
    • ElizaOS server setup
    • Bonsai Client
    • Templates
  • Guide: Create a Template
  • Client Integrations
    • Showing whether a post is Smart Media
    • Linking to Bonsai for remixes
  • Actions
    • Reward Swap
  • Launchpad
    • Overview
    • Getting Started
    • Launchpad Contract
    • Vesting ERC20 Contract
    • Hooks
    • API
      • Tokens
      • Token Balances
      • Buy / Sell Quotes
      • Link your token to a Lens Post & Account
  • ElizaOS
    • plugin-bonsai-launchpad
    • client-lens
Powered by GitBook
On this page
  • Linking to the Bonsai app for remixes
  • First, get the light Smart Media object
  • Then, construct the URL to link the user out to the Bonsai app
  1. Client Integrations

Linking to Bonsai for remixes

PreviousShowing whether a post is Smart MediaNextActions

Last updated 16 hours ago

On Bonsai, collectors of a post are allowed to remix it - which sends them to the studio page with all the configuration of that Smart Media post. Moreover, if that smart media object has an associated token, the token is carried forward and associated with the new remixed creation.

In the future, this feature may not be exclusive to collectors from the Bonsai app

Linking to the Bonsai app for remixes

Since the Remix feature is not actually gated at the protocol level, anyone can remix a Smart Media post if properly linked to the Bonsai app from another client.

First, get the light Smart Media object

Then, construct the URL to link the user out to the Bonsai app

https://app.onbons.ai/studio/create?template={media.template}&remix={media.postId || post.slug}&remixSource={media.mediaUrl}
https://app.onbons.ai/studio/create?template=adventure_time&remix=3bkqx29zpdv30r8b7ms&remixSource=https%3A%2F%2Feliza.onbons.ai

To confirm it worked, you should see the correct template loaded with most input fields filled out. Using the same example:

For example, to remix , the URL should look like this

Showing whether a post is Smart Media
this post
ℹ️
On any smart media post, the Remix button becomes available once it's been collected
Prefilled form for the smart media template