ToAPIs
    홈ToAPIs
    이미지 생성GPT Image 2.6, Gemini, FLUX…비디오 생성Seedance, Veo, Kling, Sora…채팅 및 글쓰기GPT-5.6, Claude, DeepSeek…음성 및 음악더빙, TTS, 오디오
    신규 출시Seedance 2.5
    요금제API 문서MCP
    블로그대안
    로그인무료 시작
    전체 모델요금제API 문서MCP블로그대안
    로그인무료 시작

    언어

    Esc
    • Seedance 2.5비디오 생성
    • GPT Image 2이미지 생성
    • GPT Image 2.6이미지 생성
    • GPT Image 2.5이미지 생성
    • Veo 3.1 Fast비디오 생성
    • Kling 3.0 Turbo비디오 생성
    • Kling V4 Flash비디오 생성
    • Grok Video 1.5비디오 생성
    • Nano Banana 2이미지 생성
    • Seedream 5.5이미지 생성
    • FLUX이미지 생성
    • Sora 2비디오 생성
    • 전체 이미지 모델카테고리
    • 전체 비디오 모델카테고리
    • GPT-5.6 Sol채팅 및 코딩
    • Claude Opus 4.8채팅 및 코딩
    • Claude Opus 4.7채팅 및 코딩
    • DeepSeek V4 ProDeepSeek · 텍스트
    • Gemini Omni 1.1 FlashGoogle · 멀티모달

    빠른 답변

    • Supports prompt-based image generation with multiple aspect ratios.
    • Supports reference_images for stronger style consistency.
    • Official variants expose richer generation controls for production tuning.

    주요 파라미터

    • model | string | 필수 | gemini-3.1-flash-image-official | - | Exact image model identifier from ToAPIs.
    • prompt | string | 필수 | - | - | Primary image instruction prompt.
    • size | string | 선택 | 1:1 | 1:1 | 16:9 | 9:16 | 4:3 | 3:4 | 21:9 | Output aspect ratio.
    • resolution | string | 선택 | 1K | 1K | 2K | 4K(按模型能力) | Output resolution, varies by model variant.
    • reference_images | file[] | 선택 | - | max 14 | Reference image array for style/composition control.
    • temperature | number | 선택 | 0.8 | 0-2 | Sampling temperature for diversity control.
    • topP | number | 선택 | 0.95 | 0-1 | Nucleus sampling threshold.

    자주 발생하는 오류

    • 400 invalid_request_error: 발생 조건=Missing or invalid request payload fields.; 해결=Validate model/prompt/size/resolution fields.; 재시도=Retry only after fixing payload.
    • 401 authentication_error: 발생 조건=Missing or invalid API key.; 해결=Verify Authorization header and API key scope.; 재시도=Retry after auth fix.
    • 429 rate_limit_exceeded: 발생 조건=Request rate, concurrency, or current quota hits upstream rate limiting.; 해결=Apply exponential backoff first, then review request rate, concurrency, and quota usage.; 재시도=Use 1s/2s/4s backoff with jitter; if it persists, reduce submission pressure.

    gemini-3.1-flash-image-official

    gemini-3.1-flash-image-official is a Google Gemini image generation model supporting text-to-image and reference-guided image creation, aligned to ToAPIs docs.

    모델 유형:
    텍스트로 이미지 생성이미지로 이미지 생성
    가격: Input 80 크레딧/1M, Output 480 크레딧/1M
    프로덕션 경로
    정상
    플레이그라운드관련 기능READMEAPI
    1

    이미지 설명

    참조 이미지

    생성할 이미지를 설명하세요.98 / 1200

    고급 옵션

    예시 매개변수
    2

    생성 결과

    이미지 결과가 여기에 표시됩니다

    로그인하면 생성 작업을 제출할 수 있습니다.

    API 문서 보기API 키 받기

    생성에는 시간이 걸립니다. 잠시 기다려 주세요.이 페이지를 나가도 [ 작업 로그 ] 에서 생성된 콘텐츠를 바로 확인할 수 있습니다.

    요청 미리보기

    {
      "model": "gemini-3.1-flash-image-official",
      "prompt": "gemini-3.1-flash-image-official 로 고품질 제품 광고 이미지를 생성하세요. 피사체는 선명하고 조명은 자연스러우며 SNS 게시에 바로 쓸 수 있는 구도.",
      "size": "1:1",
      "metadata": {
        "temperature": 1,
        "topP": 0.95,
        "resolution": "1K"
      }
    }

    투명한 가격

    gemini-3.1-flash-image-official pricing

    Image usage is billed according to the current request and resolution rules. Final billing follows the current account quote.

    크레딧 충전
    Input 80 크레딧/1M, Output 480 크레딧/1M

    ToAPIs를 선택하는 이유

    Why call gemini-3.1-flash-image-official through ToAPIs?

    Keep image generation, API keys, billing, and usage management in one workflow.

    High-quality image generation

    Generate high-fidelity images via a unified API.

    Reference-guided consistency

    Use reference_images to stabilize style and composition.

    Production tuning controls

    Tune resolution, aspect ratio, and sampling for quality/cost balance.

    Connect in three steps

    Create a key, send an image request, and review the generated result.

    1. 1

      Step 1

      Set Authorization: Bearer <YOUR_API_KEY>.

    2. 2

      Step 2

      Call image generation endpoint with model, prompt, and size.

    3. 3

      Step 3

      Optionally pass reference_images for stronger consistency.

    When to use gemini-3.1-flash-image-official

    Use case 1

    When generating marketing/e-commerce/creative image assets at scale.

    Use case 2

    When using references to stabilize style and iterate prompts quickly.

    자주 묻는 질문

    gemini-3.1-flash-image-official FAQ

    How should I choose Gemini image variants?

    Choose by resolution needs, official vs preview variant, and control parameters; prefer official for production.

    Why are reference images not taking effect?

    Check reference count/format/size limits and ensure prompt explicitly uses references.

    Image or video model error: invalid apitype: -1

    This usually means the request was sent to the wrong endpoint. Image and video models typically do not use the chat endpoint. Instead, submit the documented HTTP task request and poll the task status endpoint for results. Check the actual request code, URL, and payload first.

    An image or video task failed, but the user was still charged

    Ask the user for the task log or screenshot first and check whether input or output token usage appears. If token accounting shows up, the request was likely sent through a chat endpoint instead of the proper media workflow. Image and video models usually run as async HTTP task APIs: submit the task first, then poll by task id according to the relevant docs.

    gemini-3.1-flash-image-official API

    Start building with gemini-3.1-flash-image-official

    Test an image request here, then continue in the dashboard or API documentation.

    Start for freeView API Docs

    Try gemini-3.1-flash-image-official with one ToAPIs key.

    Use one account and API surface for image generation workflows.

    Sign up to get free credits
    ToAPIs
    홈ToAPIs
    엔터프라이즈 AI API 게이트웨이. GPT-5, Claude, Gemini 등 200개 이상의 모델을 하나의 통합 API로 이용하세요.

    인기 모델

    • Seedance 2.5 API
    • Seedance 2.0 API
    • Veo 3.1 Fast API
    • Kling 3.0 Turbo API
    더 보기접기
    • GPT Image 2 API
    • Claude Opus 4.8 API
    • Nano Banana 2 API
    • Seedance 2 Mini API
    • 전체 모델

    API 카테고리

    • AI 이미지 생성 API
    • AI 동영상 생성 API
    • 텍스트 동영상 API
    • 이미지 동영상 API
    더 보기접기
    • AI 이미지 편집 API
    • 언어 및 추론 모델 API
    • 모든 API 도구 →

    대안

    대안
    • Kie.ai 대안
    • Fal.ai 대안
    • OpenRouter 대안
    • Replicate 대안
    • Wavespeed AI 대안
    • 모든 서비스 비교 →

    추천 기술 가이드

    추천 기술 가이드
    • Seedance 2.0과 2.5 가격 비교
    • 저비용 Seedance API 가이드
    • MiniMax H3 연동 가이드
    • Seedance 2 무료 테스트 키
    • Seedance 2 API 빠른 시작
    • 모든 기술 문서 →

    개발자 및 플랫폼

    개발자 및 플랫폼
    • API 문서
    • MCP
    • 요금
    • 모델 플레이그라운드
    • LLMs.txt
    • 지원 문의
    • 모델 가이드 목록
    운영 주체:
    鯨樞智能科技有限公司
    JINGSHU INTELLIGENT LIMITED
    등록 주소:
    ROOM 5042, 5/F, YAU LEE CENTRE, NO.45, HOI YUEN ROAD, KWUN TONG, KOWLOON, HONG KONG
    개인정보처리방침이용약관이용 정책데이터 삭제 정책데이터 보존 정책하위 처리자 및 데이터 리전결제 및 환불쿠키 정책사이트맵소개

    © 2026 ToAPIs. All rights reserved.