Token Images
API Path
SDK Path
What To Pass
If You Already Have IPFS
Recommended Build Order
Related Guides
SDK Guide: Flaunching a CoinAI Skills Quick StartLast updated
Was this helpful?
When building on Flaunch, use the Flaunch image flow first.
The recommended paths are:
API path: Upload a base64Image to the Flaunch image endpoint, then use the returned ipfsHash as imageIpfs
SDK path: Pass metadata.base64Image into flaunchIPFS(...) and let the SDK handle the IPFS flow
This keeps the launch flow aligned with the Flaunch tools and avoids extra manual metadata work.
The Web2 API expects images in two steps:
Send base64Image to POST /api/v1/upload-image
Use the returned ipfsHash as imageIpfs when calling launch-memecoin
The image upload endpoint validates the image and stores it on IPFS before launch.
https://github.com/flayerlabs/flaunch-gitbook/tree/main/developer-resources/flaunch-memecoin-api.mdThe SDK path is simpler when you are already building in a TypeScript app or script.
Pass the image as metadata.base64Image inside flaunchIPFS(...).
The SDK then uploads:
The image to IPFS
The token metadata JSON to IPFS
The launch transaction with the generated metadata URI
This is the recommended path when the app needs direct wallet-controlled launch behavior.
Use one of these formats:
A full data URL like data:image/png;base64,...
A base64 string produced from a user-uploaded file
Recommended image formats:
jpg
png
webp
gif
If you already have an IPFS-hosted image, you can still use it.
For the API path, pass the image hash as imageIpfs.
For lower-level onchain flows, you can work from a prepared metadata URI, but the preferred developer path is still to use the Flaunch API or SDK upload flow first.
Start with the Flaunch upload flow
Confirm the returned IPFS hash or metadata URI
Launch the token
Last updated
Was this helpful?
Was this helpful?