Skip to content
Dashboard

Recraft V4 on AI Gateway

import { generateImage } from 'ai';
const result = await generateImage({
model: 'recraft/recraft-v4',
prompt:
`Product photo of a ceramic coffee mug on a wooden table,
morning light, shallow depth of field.`,
});

Ready to deploy?