Generate an NFT image
NFTs
Generate an NFT image
Generate a new image or edit existing images using AI. Returns a publicly accessible URL to the generated image.
POST
Generate an NFT image
Related docs: Managing Onchain Wallets
Node.js SDK
🔗 SDK Method: generateImage Use this API endpoint with the Neynar Node.js SDK for typed responses and better developer experience.Authorizations
API key to authorize requests
Headers
Wallet ID to use for transactions
Body
application/json
Text prompt describing the image to generate
Minimum string length:
1Output image format (default: png)
Available options:
png, jpeg, webp Output image height in pixels (default: 1024)
Required range:
1 <= x <= 4096Use the high-fidelity model (slower but more detailed). Default: false.
Optional array of source image URLs to edit or use as reference (max 5)
Maximum array length:
5Output image width in pixels (default: 1024)
Required range:
1 <= x <= 4096Response
Success