/v1beta/models/{model}:generateContent를 사용하세요.
스트리밍
:generateContent 대신 :streamGenerateContent를 호출하면 증분
candidates 청크로 구성된 Gemini SSE 스트림을 받습니다.
구조화된 출력
JSON 출력을 위해generationConfig.responseMimeType: "application/json"과
responseSchema를 함께 사용하세요.
파라미터
지원되는generationConfig: temperature, topP, topK, maxOutputTokens,
stopSequences, responseMimeType, responseSchema, responseModalities
(이미지 출력을 위해 IMAGE 포함). 또한 최상위 tools(functionDeclarations)와
systemInstruction을 지원합니다.