Upload generated meme to Pinata #9

Merged
ashwin merged 8 commits from pm-upload-to-pinata into main 2025-02-04 15:16:25 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit d360e14aa3 - Show all commits

View File

@ -88,7 +88,7 @@ const Page: React.FC = (): React.ReactElement => {
if (!transactionSignature) {
return { error: 'Transaction signature not found' }
}
};
// Generate image with specified model and transaction reference
const fluxResult = await generateWithFlux(prompt, modelId, transactionSignature);

View File

@ -26,6 +26,6 @@ export async function uploadToPinata(imageUrl: string): Promise<FluxGenerationRe
} catch (error) {
return {
error: error instanceof Error ? error.message : 'Upload failed'
}
};
}
}