Image Generation
Set Up via OpenAI
1. Sign up for OpenAI
- Sign up for an OpenAI account or sign into your existing one.
- If creating a new account, complete the verification process (requires confirming your email and phone number).
- Log into your account and go to the API key page.
- Click
Create new secret key
and copy the key that is shown.
2. Configure OpenAI API Keys under Tools > ClassifAI > Image Processing > Image Generation > Settings
- Select OpenAI Images in the provider dropdown.
- Enter your API Key copied from the above step into the
API Key
field.
3. Enable specific Image Processing features
- Choose to add the ability to generate images.
- If image generation is configured, set the other options as needed.
- Save settings. An error will show if API authentication fails.
4. Trigger the media flow within a content item
- Create a new content item
- Insert an Image block or choose to add a featured image and choose a new item from the Media Library
- In the media modal that opens, click on the
Generate image
tab - Enter in a prompt to generate an image
- Once images are generated, choose one or more images to import into your media library
- Choose one image to insert into the content
Set Up via Google AI Imagen
1. Sign up for Google AI
- Sign up for a Google account or sign into your existing one.
- Go to Google AI Gemini website and click on the Get API key button or go to the API key page directly.
- Note that if this page doesn't work, it's likely that Gemini is not enabled in your workspace. Contact your workspace administrator to get this enabled.
- Click
Create API key
and copy the key that is shown.
2. Configure API Keys under Tools > ClassifAI > Image Processing > Image Generation > Settings
- Select Google AI Imagen in the provider dropdown.
- Enter your API Key copied from the above step into the
API Key
field.
3. Enable specific Image Generation features
- Turn on the Image Generation Feature.
- Configure other options as needed.
4. Trigger the media flow within a content item
- Create a new content item
- Insert an Image block or choose to add a featured image and choose a new item from the Media Library
- In the media modal that opens, click on the
Generate image
tab - Enter in a prompt to generate an image
- Once images are generated, choose one or more images to import into your media library
- Choose one image to insert into the content