Nexscope

GPT Image 2.5 Flare

REST API and MCP service documentation generated from server-side API definitions. Responses use the shared code, msg, and data envelope.

API selector
Subscription required. Creative AI APIs are available only to users with an active subscription. Trial credits do not enable API key access. View subscription plans.
Image Generation Models

API overview

Create and edit ecommerce visuals with GPT Image 2.5 Flare using detailed prompt following, flexible visual styles, dependable text, and 1K, 2K, or 4K output.

Try this API
Endpoint
https://api.nexscope.ai/api/skill-api/v1/skills/gpt-image-2-5-flare-generation/run
MCP method
nexscope_gpt_image_2_5_flare_generation

Authentication

All run endpoints require a user API key. Send it as a bearer token in the Authorization header.

Authorization: Bearer nk-xxxxxxxxxxxxxxxxx
Missing or invalid API keys return an authentication error. Manage keys from .
POSThttps://api.nexscope.ai/api/skill-api/v1/skills/gpt-image-2-5-flare-generation/run

Run an API

Create and edit ecommerce visuals with detailed instruction following, flexible visual styles, world-knowledge grounding, and dependable text rendering through the GPT Image 2.5 Flare route.

Sluggpt-image-2-5-flare-generation
HeadersAuthorization: Bearer nk-...
Content-Type: application/json
Request bodyAPI-specific JSON object.
Response bodyPlatform envelope: code, msg, data, ts, time, cost, traceId. Inspect data.status for asynchronous completion.

Status codes

CodeDescription
200HTTP request completed. Check JSON code; only 0 indicates business success or acceptance.
400Request JSON or required API parameters are invalid.
401API key is missing, invalid, or cannot be matched to a user.
5xxAPI execution or upstream service failed.

Example request

curl -X POST https://api.nexscope.ai/api/skill-api/v1/skills/gpt-image-2-5-flare-generation/run \
  -H "Authorization: Bearer nk-xxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{   "imageUrls": [],   "prompt": "Keep the product consistent and generate a clean white-background ecommerce hero image.",   "outputNum": 1,   "resolution": "2K",   "aspectRatio": "1:1",   "quality": "medium" }'
All categories/ Image Generation Models
POSThttps://api.nexscope.ai/api/skill-api/v1/skills/gpt-image-2-5-flare-generation/run

Run this API

Send a JSON request to execute this API and receive the documented response payload.

Endpoint

MethodPOST
Pathhttps://api.nexscope.ai/api/skill-api/v1/skills/gpt-image-2-5-flare-generation/run
AuthBearer API key
Content-Typeapplication/json

Request body

NameTypeRequiredDescription
imageUrlsarrayoptional
Optional public reference image URLs. Omit this field for text-to-image generation, or provide references for image-to-image generation. When supplied, provide 1 to 10 JPG, PNG, or WEBP images; each image must not exceed 20 MB.
Example: []
promptstringrequired
Generation prompt describing the target image, scene, composition, style, and constraints. Maximum 5000 characters.
Example: Keep the product consistent and generate a clean white-background ecommerce hero image.
outputNumintegeroptional
Number of images to generate. Valid range: 1 to 10; defaults to 1.
Example: 1
resolutionstringoptional
Output resolution.
Available options
  • 1K
  • 2K
  • 4K; defaults to 2K
Example: 2K
aspectRatiostringoptional
Output aspect ratio.
Available options
  • 1:1
  • 3:4
  • 4:3
  • 2:3
  • 3:2
  • 9:16
  • 16:9
  • 4:5
  • 5:4
  • 21:9
  • 9:21
Example: 1:1
qualitystringoptional
GPT Image quality. Defaults to medium.
Available options
  • low
  • medium
  • high
  • xhigh
  • max
Example: medium

Request example

{
  "imageUrls": [],
  "prompt": "Keep the product consistent and generate a clean white-background ecommerce hero image.",
  "outputNum": 1,
  "resolution": "2K",
  "aspectRatio": "1:1",
  "quality": "medium"
}

Response body

NameTypeRequiredDescription
dataanyrequired
Data value used by this API operation.
codeintegerrequired
0 means accepted or successful; nonzero is a platform error.
msgstring | nullrequired
Msg value used by this API operation.
tsstringrequired
Epoch milliseconds.
timestringrequired
Server local time: yyyy-MM-dd HH:mm:ss.
coststringrequired
Elapsed milliseconds, never credits; -1 outside web requests.
traceIdstring | nullrequired
Trace id value used by this API operation.

Any of option 1 — requires taskId, status, result

NameTypeRequiredDescription
dataobjectrequired
Data value used by this API operation.
data.taskIdstringrequired
Task id value used by this API operation.
data.statusstringrequired
Status value used by this API operation.
Allowed: PENDING, RUNNING, SUCCEEDED, FAILED, TIMEOUT
data.resultanyrequired
Result value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.resultobjectrequired
Completed generation output retained from the task result. Fields vary by capability; generated resources use Nexscope-hosted URLs and any count represents charged Nexscope credits. This is the business output, not a task creation receipt.

Any of option 2

NameTypeRequiredDescription
data.resultnullrequired
Result value used by this API operation.

Any of option 2

NameTypeRequiredDescription
datanullrequired
Data value used by this API operation.

Response example

Platform response envelope. code 0 indicates success or acceptance; data contains the business result.

{
  "data": {
    "taskId": "example-task",
    "status": "PENDING",
    "result": null
  },
  "code": 0,
  "msg": null,
  "ts": "0",
  "time": "2026-01-01 00:00:00",
  "cost": "-1",
  "traceId": null
}

Responses

CodeDescription
200HTTP request completed. Check JSON code; only 0 indicates business success or acceptance.
400Request JSON or required API parameters are invalid.
401API key is missing, invalid, or cannot be matched to a user.
5xxAPI execution or upstream service failed.

Data source, freshness, and limitations

Source, freshness, coverage, rate limits, and estimation notes are not specified in this API definition unless they appear in the request or response field documentation above. Do not assume official marketplace data or real-time freshness when it is not explicitly documented.

Related APIs

MCP

V2 recommended

Connect remote agents through the standard MCP 2025-11-25 Streamable HTTP endpoint. Use OAuth 2.1 Authorization Code with PKCE, or an API key for compatibility.

POST https://api.nexscope.ai/api/skill-api/v2/mcp
MCP-Protocol-Version: 2025-11-25
Content-Type: application/json
Authentication

OAuth clients request the mcp:tools scope. The endpoint's 401 response advertises protected-resource metadata for authorization discovery.

Call a tool

{
  "jsonrpc": "2.0",
  "id": "tool-call-1",
  "method": "tools/call",
  "params": {
    "name": "nexscope_gpt_image_2_5_flare_generation",
    "arguments": {
      "imageUrls": [],
      "prompt": "Keep the product consistent and generate a clean white-background ecommerce hero image.",
      "outputNum": 1,
      "resolution": "2K",
      "aspectRatio": "1:1",
      "quality": "medium"
    }
  }
}
Legacy MCP v1

Existing API-key clients can continue using the compatibility endpoint. New integrations should use MCP v2.

GET / POST /api/skill-api/v1/mcp

Online test

Execute the current API with your API key and JSON payload.

Try it

Send a real request with the same contract shown in the reference.

Endpoint
https://api.nexscope.ai/api/skill-api/v1/skills/gpt-image-2-5-flare-generation/run
Task result endpoint
https://api.nexscope.ai/api/skill-api/v1/skills/gpt-image-2-5-flare-generation/tasks/{taskId}
MCP method
nexscope_gpt_image_2_5_flare_generation
cURL
curl -X POST \
  https://api.nexscope.ai/api/skill-api/v1/skills/gpt-image-2-5-flare-generation/run \
  -H "Authorization: Bearer nk-..." \
  -H "Content-Type: application/json" \
  -d '{ "imageUrls": [], "prompt": "Keep the product consistent and generate a clean white-background ecommerce hero image.", "outputNum": 1, "resolution": "2K", "aspectRatio": "1:1", "quality": "medium" }'
Response
No response yet. Run the request to see the response here.
Task result

Results are checked automatically after Run API. You can also enter a task ID and check it manually; completed resources use Nexscope URLs and show actual charged credits.

Result response
No task result yet. Query the task to see the generated output here.