还没有图片。提交表单以生成图片。
探索不同用例和参数配置
透明定价,无隐藏费用。按需支付。
| 规则与模式 | 渠道 | 积分 | 价格(美元) | 官方/参考价格 | 每日节省 |
|---|---|---|---|---|---|
test imageLuma | Official | 999per run | $4.541 | - | - |
luma-photon 使用完整指南
在 ApiPass 上使用 Photon Flash,以惊人的速度和高性价比生成图像。这个文本生成图像模型可直接根据提示词创建图像,非常适合快速原型设计、大批量图像生成、情绪板、社交内容以及注重预算的创意工作流。

Photon Flash 是 Luma 的文本生成图像模型,可直接根据自然语言提示词生成图像。它针对快速交付和低成本图像创作进行了优化,非常适合需要测试大量概念、快速迭代或批量生成氛围视觉内容的场景。通过 ApiPass,Photon Flash 以异步 REST API 形式运行:创建任务、轮询任务记录,并从标准化的 CDN 结果中获取生成的图像 URL。
提交描述你想创建图像的提示词,Photon Flash 会在异步处理完成后返回生成的图像 URL。它非常适合电影感场景、日常写实、氛围概念以及快速创意探索。
使用 POST /api/v1/jobs/createTask 创建生成任务,保存返回的 data.taskId,然后轮询 GET /api/v1/jobs/recordInfo,直到 state 变为 success 或 fail。成功的任务会返回 resultJson,这是一个包含 resultUrls 的 JSON 字符串。
创建任务时可选择提供 callBackUrl。ApiPass 将使用与查询任务 API 相同的响应结构向你的端点发送完成通知,因此你可以构建事件驱动的工作流,而无需持续轮询。
Photon Flash 针对快速生成进行了优化,帮助团队在更短时间内探索更多想法。它特别适用于早期视觉开发、提示词测试以及强调速度的创意方向探索。
Photon Flash 的参考价格为每张图 $0.005,常规通道配置为每张图 5 点积分,专为批量生成和大规模实验而设计,同时让成本保持可预测。
Photon Flash 在带有光线、环境和情绪基调的氛围类提示词上表现出色。可以添加舒适室内、霓虹灯、雨天、日出或安静城市氛围等细节,引导生成更丰富的结果。
在投入最终制作前,快速生成大量视觉方向。Photon Flash 非常适合以低成本测试场景想法、构图、情绪和提示词变体。
构建自动化工作流,用于生成大量图像,服务于内部评审、创意探索、内容测试或草稿素材。ApiPass 负责异步任务创建、轮询、回调和结果 URL 标准化。
为故事板、营销活动、产品灵感或创意简报创建氛围图像。包含光线、场景、质感和情绪的提示词,有助于 Photon Flash 生成更具表现力的输出。
为帖子、快拍、缩略图和营销活动实验快速生成视觉素材。Photon Flash 帮助内容团队迭代多种视觉风格,而不会拖慢发布工作流。
请根据你的工作流是优先考虑最高速度和可负担性,还是更高质量的最终输出,来选择模型。
Photon Flash 针对最快生成速度和最高成本效率的工作流进行了优化。它最适合大批量生成、提示词测试、快速原型设计、草稿素材、情绪板以及注重预算的创意探索。
Photon 更适合追求更高输出质量和最终交付成果的场景。当视觉保真度比最低成本或最大吞吐量更重要时,请使用 Photon;当你需要更快地进行规模化迭代时,请使用 Photon Flash。
Photon Flash 的标价为每张图 $0.005。约等于 $1 可生成 200 张图,适合实验和大批量生成。
当前常规通道配置为每张图 5 点积分,并按图像计费。最终任务费用可能取决于通道和实际任务记录。
按参考费率计算,100 张图约需 $0.50,1,000 张图约需 $5.00。这种按图像计费的固定结构,让 Photon Flash 非常适合批量提示词测试和大规模创意探索。
描述你想生成的图像。包括主体、场景、情绪、氛围、光线、构图和风格。prompt 字段为必填,不能为空。
向 https://api.apipass.dev/api/v1/jobs/createTask 发送 POST 请求,将 model 设置为 luma/photon-flash,并在 input.prompt 中传入你的提示词。也可以选择包含 callBackUrl 和 channel。
保存创建响应中的 data.taskId,并调用 GET /api/v1/jobs/recordInfo?taskId=YOUR_TASK_ID,直到 state 为 success 或 fail。成功后,解析 resultJson 并读取 resultUrls,以访问生成图像的 CDN URL。
所有 API 都需要通过 Bearer Token 进行身份验证。
Authorization: Bearer
提交一个新的 Luma Photon Flash 文生图生成任务。该任务会异步运行,并返回用于状态轮询的任务 ID。
该 API 接受以下结构的 JSON payload:
1{
2 "model": "luma/photon-flash",
3 "callBackUrl": "string (optional)",
4 "channel": "auto",
5 "input": {
6 "prompt": "string"
7 }
8}model必填string用于生成的模型名称。此值固定为 luma/photon-flash。
"luma/photon-flash"
callBackUrl可选string用于接收任务完成通知的回调 URL。如果省略,则不会发送回调。
"https://your-domain.com/api/callback"
channel可选string你可以通过 channel 参数指定 APIPASS 中对应的服务商;这些服务商负责实际的图像和视频生成任务。APIPASS 目前提供三种服务商选项:
channel 参数的默认值为 auto。启用后,APIPASS 会根据实时价格和稳定性指标,在可用服务商之间自动分配任务,以平衡最低成本和可靠性能。除非你有自定义路由需求,否则建议保留默认值 auto。
可用选项:
auto
input 对象包含以下参数:
input.prompt必填string用于图像生成的文本提示词。此字段必填,且不能为空。
请清晰描述所需图像,包括主体、场景、风格、光照、氛围和构图。prompt 不能为空。
"A cinematic ocean wave at sunrise, highly detailed"
1curl --request POST \
2 --url "https://api.apipass.dev/api/v1/jobs/createTask" \
3 --header "Authorization: Bearer ${APIPASS_API_KEY}" \
4 --header "Content-Type: application/json" \
5 --data '{
6 "model": "luma/photon-flash",
7 "callBackUrl": "https://your-domain.com/api/callback",
8 "channel": "auto",
9 "input": {
10 "prompt": "A cinematic ocean wave at sunrise, highly detailed"
11 }
12 }'1{
2 "code": 200,
3 "message": "success",
4 "data": {
5 "taskId": "task_12345678"
6 }
7}code状态码,200 表示成功,其他值表示失败。
message响应消息。请求失败时,此字段包含错误描述。
data.taskId任务 ID,用于通过查询任务 API 查询任务状态和结果。

flux
flux
Generate photorealistic images with robust text
起价
0 积分
Nano Banana 2 Lite, aka Gemini 3.1 Flash-Lite Image, is a newly released image model from Google DeepMind built for fast 1K image generation, efficient creative iteration, prompt-based image editing, and responsive visual output in product-facing creative scenarios.
起价
0 积分
OpenAI
OpenAI
Generate intentionally designed visuals with less prompting using the latest OpenAI GPT Image 2 model.
起价
0 积分
Qwen
Qwen
起价
0 积分
Nano Banana now allows you to freely draw on edited images, bringing you a completely new experience. Simply click on the image to draw whatever you want. You can also add text and details, and Gemini will do the rest.
起价
0 积分
Fast image generation model built on Gemini 3.1 Flash Image. Supports text-to-image, image editing, multi-image fusion with up to 14 reference images, Google Search grounding, and outputs up to 4K resolution.
起价
0 积分
seedream
seedream
起价
0 积分
grok
grok
Grok Imagine is xAI’s AI video generation model for creating high-quality videos with realistic motion, native audio, and synchronized speech. Grok Imagine 1.5 introduces faster generation speeds, improved motion physics, and stronger visual consistency for modern AI video applications.
起价
0 积分
qwen
qwen
Generate realistic 2K images with structured text
起价
0 积分
seedream
seedream
起价
0 积分
OpenAI
OpenAI
Bring your ideas to life with sharper, faster, more precise image generation using the GPT Image 2.5 API.
起价
0 积分
wan
wan
Generate images with cinematic precision through high-fidelity text-to-image synthesis and structural editing.
起价
0 积分
seedream
seedream
Gemini said Generate images with lightning-fast efficiency and high-fidelity detail through a streamlined, lightweight architecture optimized for instant creative expression.
起价
0 积分
qwen
qwen
Generate realistic 2K images with structured text
起价
0 积分
seedream
seedream
起价
0 积分
Nano Banana 2.1 is Google's latest Nano Banana image model for high-quality text-to-image generation and prompt-based image editing, with up to 10 reference images and 1K, 2K and 4K output.
起价
0 积分