feat: use xai image model and update deploy link (#882)
This commit is contained in:
parent
7811c0f7fb
commit
235b0edb91
7 changed files with 71 additions and 127 deletions
|
|
@ -5,7 +5,6 @@ import {
|
|||
} from 'ai';
|
||||
import { groq } from '@ai-sdk/groq';
|
||||
import { xai } from '@ai-sdk/xai';
|
||||
import { fal } from '@ai-sdk/fal';
|
||||
import { isTestEnvironment } from '../constants';
|
||||
import {
|
||||
artifactModel,
|
||||
|
|
@ -34,6 +33,6 @@ export const myProvider = isTestEnvironment
|
|||
'artifact-model': xai('grok-2-1212'),
|
||||
},
|
||||
imageModels: {
|
||||
'small-model': fal.image('fal-ai/fast-sdxl'),
|
||||
'small-model': xai.image('grok-2-image'),
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue