curl-X POST 'https://pollo.ai/api/platform/v1/generation/xai/grok-imagine-image-2-0/image'\-H'Content-Type: application/json'\-H'x-api-key: YOUR_API_KEY'\-d'{ "input": { "prompt": "A cinematic shot of a golden retriever running through a field of sunflowers at sunset, warm rim light, shallow depth of field", "aspectRatio": "auto", "resolution": "1K", "quality": "medium" }}'
선택적으로, 작업 성공 또는 실패 시 콜백을 수신하기 위해 webhookUrl을 포함할 수 있습니다.
선택적 요청 필드
{"input":{"prompt":"A cinematic shot of a golden retriever running through a field of sunflowers at sunset, warm rim light, shallow depth of field","aspectRatio":"auto","resolution":"1K","quality":"medium"},"webhookUrl":"https://example.com/webhooks/pollo"}
개요
선택한 엔드포인트 및 모드에 대한 입력 필드입니다.
필드
유형
필수의
화면 설명
prompt
string
예
Text prompt describing the content to generate.
aspectRatio
string
아니요
Output aspect ratio, as width:height (e.g. 16:9).
resolution
string
아니요
Output resolution of the generated media (e.g. 720p, 1080p, 2K, 4K). Values are case-insensitive.
Grok Imagine Image 2.0으로 상세한 시각적 지시를 활용해 보세요. xAI의 이미지 모델은 사실적인 렌더링, 선명한 타이포그래피, 유연한 구성을 결합해 프롬프트 기반 생성을 지원합니다.
Pollo API를 통해 Grok Imagine Image 2.0을 통합하여 캠페인 콘셉트, 편집용 이미지, 텍스트 중심 디자인을 크리에이티브 애플리케이션이나 콘텐츠 워크플로 안에서 바로 생성하세요.
Grok Imagine Image 2.0 API의 주요 기능
정확한 프롬프트 따르기
상세한 지침은 주제, 배치, 시각적 처리 방식을 안내합니다. 브리프의 우선순위를 반영하는 이미지를 만들기 위해 어떤 요소가 가장 중요한지 설명하세요.
선명한 텍스트 렌더링
헤드라인과 짧은 레이블은 생성된 비주얼의 일부가 될 수 있습니다. 정확한 문구와 배치 지침을 함께 사용해 텍스트가 구성에서 분명한 역할을 하도록 하세요.
포토리얼리스틱 이미지
작성된 설명을 바탕으로 사진 같은 장면을 생성하고, 빛, 표면 질감, 환경적 디테일을 활용해 주제와 그 주변 물체에 대해 그럴듯한 배경을 만들어냅니다.
유연한 레이아웃
와이드 배너, 세로형 아트워크 또는 정사각형 그래픽에 맞게 이미지를 구성하세요. 시각 요소가 의도한 배치에 잘 맞도록 초점과 주변 여백을 정의하세요.
Grok Imagine Image 2.0 API 사용 사례
Text-Led Campaign Concepts: Combine a short campaign message with a defined subject and layout to explore how copy and imagery work together.
Editorial Feature Images: Generate photographic scenes with specific environmental details that support the theme of an article or publication.
Hospitality Mood Visuals: Describe materials, table settings, and lighting to explore the atmosphere of a restaurant, guesthouse, or café concept.
Event Poster Artwork: Build a composition around an event name and a distinctive visual subject, leaving clear space for supporting information.
Retail Display Concepts: Visualize a themed arrangement of objects, signage, and surfaces before developing the physical display.
Website Hero Imagery: Position the subject to one side and reserve space for live website copy, matching the image to the intended page layout.
Grok Imagine Image 2.0 API 사용 방법
Get an API Key: Create a Pollo API account and generate your API key from the developer dashboard.
Choose the Model: Send requests to the Grok Imagine Image 2.0 endpoint at /generation/xai/grok-imagine-image-2-0/image.
Add Your Inputs: Pass a prompt for text-to-image, then set aspectRatio, resolution (1K or 2K), and quality (low or medium).
Generate and Retrieve: Submit the task, poll the returned task status, and download the finished image once it succeeds.
Grok Imagine Image 2.0 API를 위한 프롬프트 작성 모범 사례
구체적인 비주얼 브리프를 작성하고, 장식적인 세부 사항보다 주제와 구도를 먼저 배치하세요. 텍스트가 중요할 때는 정확한 문구, 위치, 그리고 이미지와의 관계를 지정하세요.
간단한 프롬프트 공식
Intended use + main subject + setting + composition + lighting and materials + exact text + visual constraints
주의해야 할 점
Subject Placement: State where the focal subject belongs and how much space it should occupy, especially for banners or layouts containing copy.
Exact Wording: Put required text in quotation marks and distinguish the headline from supporting labels. Review spelling in the generated result.
Lighting Logic: Describe a clear light source, such as a side window or overhead lamp, instead of combining conflicting lighting directions.
Material Cues: Name the relevant surfaces, such as brushed steel, textured linen, or glazed ceramic, to make a photographic brief more specific.
Clear Priorities: Keep essential requirements separate from optional decoration so an elaborate prompt does not obscure the main visual idea.
예시 프롬프트
야시장 포스터
‘NIGHT MARKET’라는 제목의 세로 포스터를 만들어 주세요. 가지런히 정돈된 오렌지와 바구니가 놓인 노점 위에 빛나는 종이 등 하나를 단독으로 보여 주세요. 짙은 인디고, 따뜻한 앰버, 절제된 크림색 글자를 사용하세요. 헤드라인은 상단에 배치하고, 여백은 넉넉하게 두며 추가 텍스트는 넣지 마세요.
해안 게스트하우스 아침 식사
소박한 해안 게스트하우스 안의 아침 식사 테이블을 촬영한다: 거친 리넨, 무화과가 담긴 파란 세라믹 그릇, 사워도우 토스트, 그리고 물 한 잔. 아침 햇살은 왼쪽에서 들어온다. 앉아 있는 투숙객의 시점에서 테이블을 프레임에 담고, 미묘한 불완전함을 살리며 사람이나 텍스트는 넣지 않는다.
자전거 작업장 웹사이트 히어로
동네 자전거 공방을 위한 넓은 사진 스타일의 웹사이트 히어로를 만들어 주세요. 오른쪽에는 옅은 석회벽을 배경으로 복원된 구리색 자전거를 배치하세요. 깔끔하게 걸린 도구들과 부드러운 오후의 그림자를 포함하세요. 왼쪽 절반은 웹사이트 카피를 위해 조용하고 군더더기 없이 비워 두세요. 생성된 글자는 넣지 마세요.
Grok Imagine Image 2.0 vs GPT Image 2.5 vs Qwen Image 3.0
생성 집중
Grok Imagine Image 2.0
GPT Image 2.5
Qwen Image 3.0
텍스트-이미지 생성
지원됨
지원됨
지원됨
문서화된 강점
프롬프트 따르기, 타이포그래피, 사진 이미지
세부 지시 따르기 및 텍스트 렌더링
타이포그래피와 구조화된 구성
제안된 평가 브리프
짧은 헤드라인이 있는 사진 캠페인 이미지
여러 배치 제약이 있는 비주얼 브리프
명확하게 구분된 섹션이 있는 레이블이 지정된 그래픽
검토할 주요 세부 정보
조명, 피사체 배치, 헤드라인 명확성
필수 요소 및 공간적 관계
읽기 순서, 레이블 및 섹션 구성
권장 시작 사용
사진 및 텍스트 중심의 크리에이티브 컨셉
상세한 프롬프트 기반 시각 생성
정보 중심 이미지 레이아웃
제안된 용도는 측정된 품질 순위가 아니라 각 모델의 문서화된 초점을 반영합니다. 같은 브리프를 비교해 당신의 용도에 가장 잘 맞는 것을 찾아보세요.
왜 Grok Imagine Image 2.0 API를 선택해야 할까요?
이미지 브리프에 사진 같은 피사체, 의도적인 구도, 그리고 작품 안에 표시되어야 하는 짧은 메시지가 함께 포함되어 있다면 Grok Imagine Image 2.0을 선택하세요.
Pollo API는 이 워크플로를 하나의 플랫폼을 통해 300개 이상의 이미지 및 비디오 모델과 연결하며, 애플리케이션이 성장함에 따라 개발자 문서와 사람의 지원을 제공합니다.
캠페인 브리프를 사용해 Pollo API에서 Grok Imagine Image 2.0을 사용해 보고, 그런 다음 전달하고 싶은 메시지에 맞게 조명, 레이아웃, 타이포그래피를 다듬어 보세요.
Grok Imagine Image 2.0 API FAQ
Grok Imagine Image 2.0이란 무엇인가요?
Grok Imagine Image 2.0은 xAI의 이미지 모델입니다. 텍스트를 이미지로 만드는 기능으로 작성된 브리프를 시각 자료로 바꾸며, 지시 사항 준수, 사진 같은 렌더링, 타이포그래피, 유연한 구성이 강점입니다.
Grok Imagine Image 2.0 API로 이미지를 생성하려면 어떻게 해야 하나요?
Pollo API 키를 만들고, 모델을 선택한 다음, 원하는 출력 설정으로 프롬프트를 제출하세요. 작업 상태를 확인하고 생성이 성공하면 이미지를 다운로드하세요.
Grok Imagine Image 2.0은 이미지 안에 텍스트를 생성할 수 있나요?
네. 생성된 이미지 내에서 텍스트 렌더링을 지원합니다. 정확한 문구와 배치 위치를 알려 주시면, 완성된 비주얼을 게시하기 전에 맞춤법, 가독성, 반복을 확인하세요.
다양한 이미지 형태와 품질 수준을 선택할 수 있나요?
네. API는 출력 형태, 해상도, 품질 옵션을 제공합니다. 의도한 배치에 맞는 설정을 선택한 다음, 결과물의 디테일과 구성을 브리프와 비교해 평가하세요.
왜 Grok Imagine Image 2.0을 Pollo API를 통해 실행하나요?
Pollo API는 Grok Imagine Image 2.0과 300개 이상의 이미지 및 비디오 모델을 위한 하나의 통합을 제공하며, 개발자 문서, 작업 추적, 웹훅, 사용량 기반 요금제를 지원합니다.