POST
/
submit_job
curl --request POST \
  --url http://sequencer.heurist.xyz/submit_job \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "job_id": "heurist-sdk-job-C254845d2522",
  "model_input": {
    "SD": {
      "prompt": "A beautiful landscape with mountains and a river",
      "neg_prompt": "Avoid any signs of human presence",
      "num_iterations": 20,
      "width": 1024,
      "height": 512,
      "guidance_scale": 7.5,
      "seed": -1
    }
  },
  "model_id": "HeuristLogo",
  "deadline": 60
}'
{
  "image_url": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
JSON payload to specify the image generation job details
job_id
string
required

A unique identifier for the job

model_input
object
required
model_id
enum<string>
required

The identifier of the image generation model

Available options:
HeuristLogo,
FLUX.1-dev,
PepeXL,
Zeek,
MagusDevon,
Aurora,
AnimagineXL,
CyberRealisticXL,
BrainDance,
BlazingDrive,
YamersCartoonArcadia,
ArchitectureRealMix,
ArthemyComics,
ArthemyReal,
DreamShaperXL,
AAMXLAnimeMix,
SDXLUnstableDiffusersV11,
SDXL
deadline
integer
default:
60

Maximum time allowed for job completion in seconds

Response

200
application/json
Job successfully submitted
image_url
string

URL pointing to the generated image