generated from nhcarrigan/template
feat: remove safety filter
This commit is contained in:
+2
-1
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
import { Anthropic } from "@anthropic-ai/sdk";
|
||||
import { GoogleGenAI, PersonGeneration } from "@google/genai";
|
||||
import { GoogleGenAI, PersonGeneration, SafetyFilterLevel } from "@google/genai";
|
||||
import { AttachmentBuilder, type MessageCreateOptions } from "discord.js";
|
||||
|
||||
/**
|
||||
@@ -90,6 +90,7 @@ export class Ai {
|
||||
numberOfImages: 1,
|
||||
outputMimeType: "image/png",
|
||||
personGeneration: PersonGeneration.ALLOW_ADULT,
|
||||
safetyFilterLevel: SafetyFilterLevel.BLOCK_NONE,
|
||||
},
|
||||
model: "models/imagen-4.0-generate-001",
|
||||
prompt: prompt,
|
||||
|
||||
Reference in New Issue
Block a user