Pinky API
  1. Native format
Pinky API
  • Pinky API
    • introduction
    • Online debugging instructions
    • Make a request
    • Chat
      • ChatGpt interface
        • ChatGPT Audio
          • GPT-4o-audio
          • Audio to text whisper-1
          • Audio to text gpt-4o-transcribe
          • Create voice gpt-4o-mini-tts
          • Create a translation (not supported)
        • ChatGPT Chat (Chat)
          • Chat completed object
          • Chat complete block object
          • Create a chat completion (streaming)
          • Create chat completion (non-stream)
          • Create a chat image (streaming)
          • Create chat image (streaming) best64
          • Create a chat image (non-stream)
          • Create a chat creation map (non-stream)
          • Official Function calling call
          • Official N test
          • List the model
          • Create a chat function call
          • Create structured output
          • Controlling the degree of effort of inference model
          • Create a chat completion qwen-mt-turbo
          • Create chat completion deepseek v3.1 thinking degree (streaming)
        • ChatGPT automatic completion (Completions)
          • Complete object
          • Created complete
        • ChatGPT Embeddings
          • Embed Objects
          • Create an embed
        • Web Search
          • Web Search
      • Anthropic Claude interface
        • Chat completed object
        • Chat complete block object
        • Create chat completion (streaming) [native format]
        • Create function call (streaming) [native format]
        • Create a thought chat [native format]
        • Create a thought chat
        • Create a chat completion (streaming)
        • Create chat completion (non-stream)
        • Create a chat image (streaming)
        • Create a chat image (non-stream)
      • Google Gemini interface
        • Native format
          • Chat interface [native format]
            POST
          • Chat interface-stream [native format]
            POST
          • Chat interface + thinking - stream [native format]
            POST
          • Image creation [native format]
            POST
          • Image editing [Native format] gemini-2.5-flash-image-preview
            POST
          • Image editing [native format]
            POST
          • Image understanding [native format]
            POST
          • Format output [Native format]
            POST
          • Function call [native format]
            POST
          • Document understanding [Native format]
            POST
          • google-search [native format]
            POST
          • Video Understanding-base64 [Native Format]
            POST
          • Chat interface - Read web page [Native format] Under development
            POST
          • Video Understanding - url [Native Format] Under Development
            POST
          • Imagen 3 Generate Images [Native Format] Under Development
            POST
        • chat compatible format
          • gemini picture creation interface [chat compatible format]
          • Chat interface [chat compatible format]
          • Chat Interface-Thinking 1 [chat compatible format]
          • Chat Interface-Thinking 2 [chat compatible format]
          • Graphic recognition interface [chat compatible format]
          • Chat + read file interface [chat compatible format]
    • Chat (Responses)
      • Comparison of Responses API and Chat API
      • Create a model response
      • Create a function call
      • Create a model response (streaming return)
      • Create a model response (control thinking length)
      • Create a web search
      • Create a model response gpt-5 enable thinking
    • Drawing model
      • README
      • Image object
      • Midjourney
        • Upload pictures
        • Submit Imagine Tasks
        • Query task status based on task ID
        • Query tasks based on ID list
        • Get the seed of the task image
        • Perform Action Action
        • Submit Blend Task
        • Submit Describe Task
        • Submit Shorten task
        • Submit Modal
        • Submit swap_face task
      • Ideogram
        • Generate 3.0 (Photo by Wensheng) Generate
        • Generate 3.0 (Picture Edit) Edit
        • Generate 3.0 (Picture Remake) Remix
        • Generate 3.0 (image reconstruction) Reframe
        • Generate 3.0 (replace background) Replace Background
        • Ideogram (Literature Photo)
        • Remix (mixed image)
        • Upscale (Zoom in HD)
        • Describe (Description)
      • GPT Image-1
        • Create gpt-image-1
        • Edit gpt-image-1
        • Mask gpt-image-1
      • DALL·E 3
        • Create DALL·E 3
      • FLUX Series
        • GPT Compatible Format
          • Flux creation (OpenAI dall-e-3 format)
          • Flux editing (OpenAI dall-e-3 format)
        • Replicate official format
          • Access Tutorial
          • Create a task black-forest-labs/flux-kontext-dev
          • Query tasks
      • Bean bag series
        • doubao-seedream-3-0-t2i-250415
        • doubao-seededit-3-0-i2i-250628
        • doubao-seedream-4-0-250828-Wensheng Picture
        • doubao-seedream-4-0-250828-pictures
        • doubao-seedream-4-0-250828- Multiple pictures and pictures
      • Fal.ai platform
        • Status code
        • Get the request result
        • /fal-ai/nano-banana Text-to-Image
        • /fal-ai/nano-banana/edit Image Editing
    • Video Model
      • Veo Video Generation
        • Unified Video Format
          • Status code
          • Create a video
          • Query tasks
          • Create videos with pictures
      • Luma VIdeo Generation
        • Official API format
          • Status code
          • Submit a video generating task
          • Extended Video
        • Query tasks
          • Query a single task
          • Bulk acquisition tasks
      • Kling Kuaishou Kao Ling
        • Callback protocol
        • Image generation
        • Wensheng Video
        • Pictures and videos
        • Query Tasks (Free)
      • Runway video generation
        • Status code
        • Submit video generation task
        • Query video tasks (free)
      • Dream video generation
        • Status code
        • Submit video generation task
        • Query video tasks (free)
      • Conch video generation
        • Status code
        • Submit video generation task
        • Video task status query
      • Doubao Video Generation
        • Text-to-Video Example
        • Image-to-Video (First Frame)
        • seedance-lite (First and Last Frame)
        • Image-to-Video (base64)
        • seedance-lite (Reference Images)
        • Query single task
        • Query video task list (default)
        • Query video task list (multiple task IDs)
    • GPTs Related
      • Introduction
      • GPTs dialogue
    • System API
      • Get the token list
      • Add token
      • Get the token support model
      • Get account information
    • Wensheng Music Suno
      • illustrate
      • parameter
      • Task Submission
        • Generate songs (inspiration mode)
        • Generate songs (custom mode)
        • Generate songs (continued mode)
        • Generate songs (singer style)
        • Generate songs (upload songs for secondary creation)
        • Generate songs (split songs)
        • Generate lyrics
        • Song splicing
      • Query interface
        • Bulk acquisition tasks
        • Query a single task
    • Fal-ai aggregation platform
      • Access Tutorial
      • Get the request result
      • /fal-ai/flux-1/dev
      • /fal-ai/flux-1/dev/image-to-image
      • /fal-ai/flux-1/dev/redux
      • /fal-ai/flux-1/schnell/redux
      • /fal-ai/flux-pro/kontext
      • /fal-ai/flux-pro/kontext/text-to-image
      • /fal-ai/flux-pro/kontext/max
      • /fal-ai/flux-pro/kontext/max/multi
      • /fal-ai/wan/v2.2-a14b/image-to-image
      • /fal-ai/bytedance/seedream/v4/text-to-image
      • /fal-ai/bytedance/seedream/v4/edit
      • /fal-ai/vidu/reference-to-image
      • /fal-ai/imagen4/preview
      • /fal-ai/qwen-image-edit-lora
    • Rerank reordering model
      • Reorder
    • Replicate aggregation platform
      • Access Tutorial
      • Flux resolution
      • Query tasks
      • Create a task - via model version (predictions)
      • Create task stability-ai/stable-diffusion
      • Create task stability-ai/sdxl
      • Create task stability-ai/stable-diffusion-inpainting
      • Create task stability-ai/stable-diffusion-img2img
      • Create a task lucataco/flux-schnell-lora
      • Create a task lucataco/flux-dev-lora
      • Create a task andreasjansson/stable-diffusion-animation
      • Create a task sujaykhandekar/object-removal
      • Create a task cjwbw/rembg
      • Create a task lucataco/animate-diff
      • Create a task ideagram-ai/ideogram-v2-turbo
      • Create a task black-forest-labs/flux-kontext-dev
      • 创建任务 minimax/video-01-live
      • 创建任务 minimax/video-01
      • Create a task recraft-ai/recraft-v3
      • Create a task recraft-ai/recraft-v3-svg
      • Create a task black-forest-labs/flux-1.1-pro-ultra
      • Create a task black-forest-labs/flux-kontext-pro
      • Create a task black-forest-labs/flux-kontext-max
      • Create task flux-kontext-apps/multi-image-kontext-max
      • Create task flux-kontext-apps/multi-image-kontext-pro
      • Create a task lucataco/remove-bg
      • Create a task rifusion/riffusion
      • Create a task black-forest-labs/flux-fill-dev
      • Create a task black-forest-labs/flux-fill-pro
      • Create a task google/imagen-4-fast
      • Create a task google/imagen-4-ultra
      • Create a task google/imagen-4
      • Create task prunaai/vace-14b
    • Python configuration method
      • python openai official library (using AutoGPT, langchain, etc.)
      • python continuous conversation
      • python using speech to text
      • Python uses text to voice
      • python vectorization using Embeddings
      • python call DALL·E
      • python simple call openai function-calling demo
      • python simple langchain call openai demo
      • python llama_index configuration
      • Basic Python dialogue
      • Python uses gpt-4o to recognize pictures - local pictures
      • Python uses gpt-4o to recognize images
      • Python uses Claude to recognize images
      • python library streaming output
      • gpt realtime model call
      • python request request streaming output demo
      • python create editing images using gpt-image-1
    • PHP configuration method
      • php edit demo using image
    • nodejs configuration method
      • nodejs basic dialogue
    • Tutorials for using various plug-ins/software
      • N8N Workflow Using Transfer API Tutorial
      • Gemini CLI Transit Station Configuration Tutorial
      • Claude Code installation tutorial
      • CherryStudio calls include MCP
      • Cherry Studio Configuration Tutorial
      • CherryStudio configuration o4 inference level
      • diify add model
      • cline configuration tutorial
      • aider configuration tutorial
      • Cursor configuration tutorial
      • lobechat setup tutorial
      • ChatBox (recommended)
      • Open source gpt_academic
      • nextchat setup tutorial
      • zotero gpt configuration method
      • CLAUDE DEV configuration tutorial
      • Immersive Translation Setting up gpt Translation
      • Browser plugin ChatGPT Sidebar
      • chatgpt-on-wechat configuration tutorial
      • chatgpt GPT Academic Academic Optimization Configuration GPT Tutorial
    • Help Center
      • AI Return Field: Thinking Related
      • HTTP status code and its meaning
      • Self-built picture bed API
    • Basic introduction to transit stations
      • API Quick Start Guide
      • Contact customer service
      • Group detailed table
      • The particularity of grouping and price difference
      • How to create a new token for a specified group
      • Proxy interface call address
      • API Key Quota Query Service
      • Free AI chat project navigation
  1. Native format

Image understanding [native format]

POST
/v1beta/models/gemini-2.0-flash:generateContent
Official document: https://ai.google.dev/gemini-api/docs/image-understanding?hl=zh-cn

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params

Header Params

Body Params application/json

Examples

Responses

🟢200success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '/v1beta/models/gemini-2.0-flash:generateContent?key={{YOUR_API_KEY}}' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "contents": [
    {
      "role": "user",
      "parts": [
        {
          "inline_data": {
            "mime_type": "image/png",
            "data": "iVBORw0KGgoAAAANSUhEUgAAAiEAAAIhCAYAAACYF2qHAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4nOy9ebxtWVXf+x1zrrX2Pud2VRQUjUVf0glIYvOJLdJ8iCagIorGEOUlJL4oMYkxAX0oEVTEkJgn0WhM8pK8RI1EERRLiC2NMU9E6YquQJoCqqjm3rrNOXvvueYc7485V7Obc++5Vbfq3GZ861P3nL32auZce581fnOMMccUjAtGCKEBHlf+/0LgKcBjgAa4DghAAhRwgIz+d6NthmEYxr2Dkp/D3bNYR9u6Z3ENfBqYAx8C/hx4N/BB4EN1XS/u+2ZfnpjBu5uEEB4BfCXwVLLYeBRwFflLW5G/xIZhGMblQQBaYAKcAD5GFid/ALy9rutPHFzTLl1MhOyTEMJDgGcCzwO+ApiS1fPhg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ZFEB6aBbYRjGxcQ+8iZ0ZKh1xQuxKTrSz6iVkYBZCcH0l199X5ZFz/hnJ0j25f3YNL13r/02eGYMw7jQxAr76zIMY4lVt8Z+tm16PUaKWNGRfVdkNfcD0E50lPOJCqigaLmyoEV8ZG2yx+yYJe/LSDB13pmNoZzVqTmbwj/2yDSMC0WF5YMYxpXNeOC/ySvB6vbV8MiG48p20SwYhojK4P0o2qI/5yAFZAi3jLYjWYjkSTX7DL9I+aefKDPOMem8KLKuR5b6Ou6gCRDDuICIw+asGcaVjQ7CoEf6f9bzNDY5CTa8l013N/VWi73X4fehAXkX2XRq6Y9ZOvFoX0bnHX5f6ePaU27k9eg0xsbcWVnf3zCMC4VU2F+WYRhrRnZk+M8iNrqyHpscBHulfSiC9PIkX2dwxnQKY3BNdPsPXgsFUu/gGDdNlxp5rhk53VtarjcK0XTbdfVc58LCNYZxPpgnxDCueHT0LywXCjuHQd0jDLPXpi6rYy26o8P2/H/5t/Ns7PPighZHSJE0G3JONm4pimn5UmNBIqP/z3Y2EyCGcR6I5YQYxpVMnzNR5IF0vgQt/24eo3S5nUvzYmTZgSCjM61KmrxfF2op21RQlXIuZU1/SBqlpuZ/pZ+RIyMtMXg0dKQj1ibqjH/KhlSTPVk7eqVnlsBqGPvEmQgxjEuVvWzgKueMSozDEd2WcRhCNppUEVAdBEC/z1IIpg+mrDdEdOXsQ6KHIPncvSjq2qSgbhSKGbWqm/my2ndZb/uqKNpTLqzds017jj8ES2A1jPPAW06IYVxqLCkCGRnflfyF8SxU2GwX+/fTkpiAIjDKgWnlhEkVJ1JKhOhIQ5TGLYka7WXIkAtS9hdZ6osTl7sjg3dCuj52Z1sSFashk736d9ZNe/o11g7qi6StZrKuSbRzvG8YBiUcYxjGpcAmj8dSvGIP8bF07LKHA1I28pJlgvOOFFO/m/e
Response Response Example
{}
Modified at 2025-09-19 02:26:36
Previous
Image editing [native format]
Next
Format output [Native format]
Built with