Basic Image Generation
Input
import V from 'xalora'
const xalora = new Xalora({
apiKey: process.env['XALORA_API_KEY'],
})
async function main() {
const response = await xalora.images.generate({
model: 'BrainDance',
})
}
main()Response
Parameters
Type: ImageGenerateParams
ImageGenerateParamsProperty
Type
Required
Description
Returns
Type: ImageGenerateParams & { url: string }
ImageGenerateParams & { url: string }Property
Type
Required
Description
Last updated