Google Native API Format
Gemini 3.5 Flash - Native API - 전체 레퍼런스
- Google Native API 형식을 사용하여 gemini-3.5-flash 모델 호출
- 동기 처리 모드 사용 가능, 대화 내용을 실시간으로 반환
- 일반 텍스트 대화: 단일 턴 또는 다중 턴 컨텍스트 대화, 코드 샘플의 simple_text 및 multi_turn 예제 참조
- 멀티모달 입력: 텍스트 + 이미지/오디오/비디오 혼합 입력 지원, 코드 샘플의 audio_analysis, image_understanding, multi_file 예제 참조
- 매개변수 튜닝: generationConfig를 통해 생성 품질 제어
- 스트리밍: URL의
generateContent를streamGenerateContent로 변경하세요
POST
BaseURL: 기본 BaseURL은
https://direct.evolink.ai이며, 텍스트 모델 지원이 더 우수하고 장시간 연결을 지원합니다. https://api.evolink.ai는 멀티모달 서비스의 주력 엔드포인트이며, 텍스트 모델에 대해서는 대체 주소로 사용됩니다.인증
본문
application/json
List of conversation contents, supports multi-turn dialogue and multimodal input
Minimum array length:
1Generation configuration parameters (optional)
System instruction (optional), mainly text content
List of tools the model can call, such as function calling or code execution
Tool calling configuration (optional)
Safety settings list (optional)
Cached content name, in the form cachedContents/{cachedContent}
응답
콘텐츠가 성공적으로 생성되었습니다
응답 형식 설명:
generateContent엔드포인트 사용 시,GenerateContentResponse반환 (완전한 응답을 한 번에 반환)streamGenerateContent엔드포인트 사용 시,StreamGenerateContentResponse반환 (스트리밍 응답, 콘텐츠를 청크 단위로 반환)