Peke ki ngā ihirangi

Stable Diffusion with LoRAs

Whakauru

id tauira lora
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/lora?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model_name": "stabilityai/stable-diffusion-xl-base-1.0",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Tēnei tono: ≈$ 0.057 57 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
Open model Kuputuhi ki te Atahanga Ngā tāuru tohutoro #diffusion#lora#customization

Kuputuhi-ki-te-atahanga mā tētahi tauira pūtake Stable Diffusion me ngā LoRA, ngā whakaurunga, ngā ControlNet me ngā whāurutau IP

Open model · Atahanga

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana

Whakaahuatia te atahanga e hiahia ana koe kia whakaputaina, kia nui rawa ngā taipitopito mō ngā putanga pai.

image_size taunoa square_hd

Ngā rahinga o te atahanga putanga, ka kōwhiria mai i ngā tatūkē, ka tautuhia rānei hei whānui me te teitei ritenga. Me taea ngā rahinga ritenga e rua te whakawehe ki te 8.

•e hiahiatia ana

Tauira pūtake mō te whakaputa atahanga, ka tautuhia mā te URL, mā te ID HuggingFace rānei.

num_images taunoa 1

Tautuhia te maha o ngā atahanga ka whakaputaina e tētahi tono kotahi, kia nui ake ai te wā whakaputa mō tētahi puranga nui ake.

Arā atu negative_prompt · ic_light_model_background_image_url · ic_light_image_url · prediction_type · image_format · unet_name · variant · image_encoder_path · image_encoder_subfolder · image_encoder_weight_name · ic_light_model_url · scheduler · num_inference_steps · guidance_scale · clip_skip · tile_width · tile_height · tile_stride_width · tile_stride_height · eta · seed · prompt_weighting · controlnet_guess_mode · rescale_betas_snr_zero · enable_safety_checker · debug_latents · debug_per_pass_latents · loras · embeddings · controlnets · ip_adapter · timesteps · sigmas
taunoa

Tohutohu tōraro e tohu ana i ngā taipitopito atahanga kāore e hiahiatia ana. Ka taea te aukati i ngā tae, ngā mea, te whenua, ngā āhuatanga iti me ngā kounga, pērā i te ngutu tāne, te pōuri, te taumira iti rānei.

Whakataka he kōnae,

Papamuri e hototahi ana ki te tauira mō te whakaputanga atahanga IC Light, ka tukuna hei URL atahanga.

Whakataka he kōnae,

URL atahanga tāuru mō te whakaputa mā te tauira IC Light.

prediction_type taunoa epsilon

Kōwhiria te momo matapae mō te whakaputa atahanga; ki te kore e kōwhiria he mea kē, ka whakamahia `epsilon`.

image_format taunoa png

Te hōputu kōnae mō te atahanga ka puta.

Kōwhiringa U-Net ritenga mō te whakaputa atahanga; tukuna tōna ID HuggingFace, tōna URL rānei.

Kōwhiringa momo tauira HuggingFace; ko 'fp16' tētahi tauira.

Kaiwhakawaehere atahanga ka tohua mā te URL HTTPS, mā te ID Hugging Face rānei; ka whakatauhia te hototahitanga e ngā taumaha IP-Adapter: ka whakamahi SD1.5 i image_encoder_subfolder='models/image_encoder', ā, ka whakamahi h94/IP-Adapter SDXL i h94/IP-Adapter me image_encoder_subfolder='sdxl_models/image_encoder'. Me whai kaiwhakawaehere ina he uara tō ip_adapter.

Kōpakiroto i roto i image_encoder_path e pupuri ana i ngā taumaha kaiwhakawaehere atahanga.

taunoa pytorch_model.bin

Kōwhiria ngā taumaha o te kaiwhakawaehere atahanga mā te ingoa hei whakamahi i te whakaputanga atahanga.

URL tauira IC Light ka whakamahia i te whakaputanga atahanga.

Kaihōtaka, tauira rānei hei tango-hāmarara i te atahanga.

taunoa 30

Whakahaerehia te maha o ngā hīkoi whakaputa ka mahia e Stable Diffusion; mā ngā hīkoi tāpiri pea ka tino taipitopito ake te atahanga whakamutunga.

taunoa 7.5

Te kaha ū ki te tohutohu mō te kōwhiringa atahanga, kua whakaaturia hei CFG (Classifier Free Guidance).

taunoa 0

Ka peke i tētahi wāhanga o te whakaputanga atahanga kia tere ake te tā, ka puta he hua paku rerekē.

taunoa 4096

Tautuhia te rahi o ia tāpa i te whakaputanga atahanga.

taunoa 4096

Tautuhia te rahi o ia tāpa i te whakaputanga atahanga.

taunoa 2048

Tautuhia te āputa i waenga i ngā tūranga tāpa whai muri i te whakaputanga atahanga.

taunoa 2048

Tautuhia te āputa i waenga i ngā tūranga tāpa whai muri i te whakaputanga atahanga.

taunoa 0

Tautuhinga Eta ka whakamahia i te whakaputanga atahanga.

Kākano hei tukurua i ngā atahanga i Stable Diffusion. Ka taea te whakaputa anō i tētahi atahanga kia tino ōrite i ia oma mā te pupuri i te putanga tauira, te tohutohu me te kākano kia kore e whakarerekē.

taunoa []

Ngā LoRA ka whakakotahi te pānga hei whakaputa i te atahanga, kāore he here ki te maha ka tukuna.

taunoa []

Ngā embedding ka whakamahia i te whakaputanga atahanga hei mahere i ngā tohu tohutohu ki ngā taumahatanga embedding. I tēnei wā, kotahi anake te embedding e tautokona ana.

taunoa []

Ngā ControlNet kua whakaritea mō te whakamahinga ki te atahanga i ngā wā timestep kua tohua i te whakaputanga, kāore he here mō te maha ka tukuna e koe.

taunoa []

Ngā IP adapter e whakamahia ana hei whakaputa atahanga. Ko te tuku i tētahi urunga ka tono ki image_encoder_path.

taunoa {"array":[],"method":...

Te whakakapi i te hōtaka timestep denoising, kāore e taea te whakamahi tahi me sigmas. Ki te kore he whakakapi—te taunoa—ka tātaihia e te scheduler ngā timestep mai i num_inference_steps; mā te tuku hōtaka ritenga ka kore e whai take a num_inference_steps. Me tautoko te scheduler i te tohenga timesteps mō te whakakapi kia taea ai te set_timesteps.

taunoa {"array":[],"method":...

Te whakakapi i te hōtaka sigma denoising, kāore e taea te whakamahi tahi me timesteps. Ki te kore he whakakapi—te taunoa—ka tātaihia e te scheduler ngā sigma mai i num_inference_steps; mā te tuku hōtaka ritenga ka kore e whai take a num_inference_steps. Me tautoko te scheduler i te tohenga sigmas mō te whakakapi kia taea ai te set_sigmas.

POST /run/lora?wait=20 utu → $ 0.057
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/lora?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model_name": "stabilityai/stable-diffusion-xl-base-1.0",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Stable Diffusion with LoRAs

Ka whakaputa atahanga mai i tētahi tohutohu kuputuhi mā tētahi tauira pūtake ka tautuhia mā te URL, te ID HuggingFace rānei i `model_name`. Ka taea te hanumi ētahi `loras`, ā, ka tautokona ngā whakaurunga, ngā ControlNet, ngā whāurutau IP me ngā tāuru IC Light. Kei ngā kōwhiringa tīpako ngā pūwhakarite maha me ngā hipanga mai i te 1 ki te 150. Ka whakaputa i te 1 ki te 8 atahanga ki te png, ki te jpeg rānei.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
model_namee hiahiatia ana
Momostring
Tauira pūtake mō te whakaputa atahanga, ka tautuhia mā te URL, mā te ID HuggingFace rānei.
unet_namekōwhiringa
Momostring | null
Kōwhiringa U-Net ritenga mō te whakaputa atahanga; tukuna tōna ID HuggingFace, tōna URL rānei.
variantkōwhiringa
Momostring | null
Kōwhiringa momo tauira HuggingFace; ko 'fp16' tētahi tauira.
prompte hiahiatia ana
Momostring
Whakaahuatia te atahanga e hiahia ana koe kia whakaputaina, kia nui rawa ngā taipitopito mō ngā putanga pai.
negative_promptkōwhiringa
Momostring
Taunoa
Tohutohu tōraro e tohu ana i ngā taipitopito atahanga kāore e hiahiatia ana. Ka taea te aukati i ngā tae, ngā mea, te whenua, ngā āhuatanga iti me ngā kounga, pērā i te ngutu tāne, te pōuri, te taumira iti rānei.
prompt_weightingkōwhiringa
Momoboolean
Taunoafalse
Whakakā taumahatanga tohutohu: ka tangohia e true te here tohu 77 mā te whakataurite embedding, ā, ka whakakā i te wetereo taumahatanga.
loraskōwhiringa
Momoobject[]
Taunoa[]
Ngā LoRA ka whakakotahi te pānga hei whakaputa i te atahanga, kāore he here ki te maha ka tukuna.
loras[].pathe hiahiatia ana
Momostring
Wāhi o ngā taumaha LoRA, ka tauwhāitihia hei URL, hei ara rānei.
loras[].scalekōwhiringa
Momonumber
Taunoa1
0 – 4
Kaitauine whakarea ka whakamahia ki te taumaha LoRA i mua i te hanumi ki te tauira pūtake.
embeddingskōwhiringa
Momoobject[]
Taunoa[]
Ngā embedding ka whakamahia i te whakaputanga atahanga hei mahere i ngā tohu tohutohu ki ngā taumahatanga embedding. I tēnei wā, kotahi anake te embedding e tautokona ana.
embeddings[].pathe hiahiatia ana
Momostring
Ngā taumaha embedding kua tohua mā te URL, te ara kōnae rānei.
embeddings[].tokenskōwhiringa
Momostring[]
Ngā tohu tohutohu ka maherehia ki ngā taumahatanga embedding. Ki te waiho kau, ka hangaia he tohu kotahi mō ia vector o te kōnae embedding, ko ngā ingoa ko <s0>, <s1>, ...; whakamahia ngā tohu kua maherehia ki ō tohutohu.
controlnetskōwhiringa
Momoobject[]
Taunoa[]
Ngā ControlNet kua whakaritea mō te whakamahinga ki te atahanga i ngā wā timestep kua tohua i te whakaputanga, kāore he here mō te maha ka tukuna e koe.
controlnets[].pathe hiahiatia ana
Momostring
Wāhi taumaha ControlNet, kua tautuhia hei URL, ara rānei.
controlnets[].config_urlkōwhiringa
Momostring | null
URL kōwhiringa ki te kōnae config.json o ControlNet.
controlnets[].variantkōwhiringa
Momostring | null
Rerekētanga kōwhiringa hei whakamahi me tētahi kī putunga Hugging Face.
controlnets[].image_urle hiahiatia ana
Momourl · image
URL atahanga ka tukuna hei tāuru ControlNet.
controlnets[].mask_urlkōwhiringa
Momourl · image
Kopare ControlNet, me ōrite te rahi ki te atahanga mana ina tukuna; me wehewehe te whānui me te teitei ki te 32.
controlnets[].conditioning_scalekōwhiringa
Momonumber
Taunoa1
0 – 2
Te tauine mō ngā taumaha ControlNet i mua i te hanumi ki te tauira pūtake.
controlnets[].start_percentagekōwhiringa
Momonumber
Taunoa0
0 – 1
Ōrau o ngā wāhanga katoa ka tīmata ai a ControlNet ki te whakaawe i te whakaputanga atahanga.
controlnets[].end_percentagekōwhiringa
Momonumber
Taunoa1
0 – 1
Ōrau o ngā wāhanga katoa ka mutu ai te whakaawe a ControlNet i te whakaputanga atahanga.
controlnets[].ip_adapter_indexkōwhiringa
Momointeger | null
Kōwhiringa IP adapter mā te taupū mō tētahi InstantID ControlNet; kāore ētahi atu ControlNet e hiahia ki tēnei tautuhinga.
controlnet_guess_modekōwhiringa
Momoboolean
Taunoafalse
Ka whakawhāiti i te whakamahinga ControlNet ki ngā matapae conditional ina true.
ip_adapterkōwhiringa
Momoobject[]
Taunoa[]
Ngā IP adapter e whakamahia ana hei whakaputa atahanga. Ko te tuku i tētahi urunga ka tono ki image_encoder_path.
ip_adapter[].ip_adapter_image_urle hiahiatia ana
Momourl · image
URL atahanga ka tukuna hei tāuru IP adapter.
ip_adapter[].ip_adapter_mask_urlkōwhiringa
Momourl · image
Kopare IP adapter; ina tukuna, me ōrite ōna āhuatanga ki ērā o te atahanga adapter.
ip_adapter[].pathe hiahiatia ana
Momostring
Wāhi taumaha IP adapter, ka tohua hei URL, hei ara rānei.
ip_adapter[].model_subfolderkōwhiringa
Momostring | null
Wāhi taumaha IP adapter, ka tohua hei kōpakiroto i roto i te whaiaronga tauira.
ip_adapter[].weight_namekōwhiringa
Momostring | null
Ingoa kōnae o ngā taumaha.
ip_adapter[].insight_face_model_pathkōwhiringa
Momostring | null
Wāhi taumaha tauira InsightFace, ka tohua hei URL, hei ara rānei.
ip_adapter[].scalekōwhiringa
Momonumber
Taunoa1
≥ 0
Tauine mō ngā taumaha IP adapter, ka whakamahia i mua i te hanumi ki te tauira pūtake.
ip_adapter[].scale_jsonkōwhiringa
Momoobject | null
Tauine mō ngā taumaha IP adapter, ka whakamahia i mua i te hanumi ki te tauira pūtake.
ip_adapter[].unconditional_noising_factorkōwhiringa
Momonumber
Taunoa0
0 – 1
Tauwehe whakahaere i te haruru unconditional mō te IP adapter.
ip_adapter[].image_projection_shortcutkōwhiringa
Momoboolean
Taunoatrue
Tautuhinga pokatata matapae atahanga, ko True te taunoa. Whakamahia False mō ngā tauira FaceID plus V1, ā, True mō ngā tauira FaceID plus V2.
image_encoder_pathkōwhiringa
Momostring | null
Kaiwhakawaehere atahanga ka tohua mā te URL HTTPS, mā te ID Hugging Face rānei; ka whakatauhia te hototahitanga e ngā taumaha IP-Adapter: ka whakamahi SD1.5 i image_encoder_subfolder='models/image_encoder', ā, ka whakamahi h94/IP-Adapter SDXL i h94/IP-Adapter me image_encoder_subfolder='sdxl_models/image_encoder'. Me whai kaiwhakawaehere ina he uara tō ip_adapter.
image_encoder_subfolderkōwhiringa
Momostring | null
Kōpakiroto i roto i image_encoder_path e pupuri ana i ngā taumaha kaiwhakawaehere atahanga.
image_encoder_weight_namekōwhiringa
Momostring | null
Taunoapytorch_model.bin
Kōwhiria ngā taumaha o te kaiwhakawaehere atahanga mā te ingoa hei whakamahi i te whakaputanga atahanga.
ic_light_model_urlkōwhiringa
Momostring | null
URL tauira IC Light ka whakamahia i te whakaputanga atahanga.
ic_light_model_background_image_urlkōwhiringa
Momourl · image
Papamuri e hototahi ana ki te tauira mō te whakaputanga atahanga IC Light, ka tukuna hei URL atahanga.
ic_light_image_urlkōwhiringa
Momourl · image
URL atahanga tāuru mō te whakaputa mā te tauira IC Light.
seedkōwhiringa
Momointeger | null
Kākano hei tukurua i ngā atahanga i Stable Diffusion. Ka taea te whakaputa anō i tētahi atahanga kia tino ōrite i ia oma mā te pupuri i te putanga tauira, te tohutohu me te kākano kia kore e whakarerekē.
image_sizekōwhiringa
Momoobject
Taunoasquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Ngā rahinga o te atahanga putanga, ka kōwhiria mai i ngā tatūkē, ka tautuhia rānei hei whānui me te teitei ritenga. Me taea ngā rahinga ritenga e rua te whakawehe ki te 8.
num_inference_stepskōwhiringa
Momointeger
Taunoa30
1 – 150
Whakahaerehia te maha o ngā hīkoi whakaputa ka mahia e Stable Diffusion; mā ngā hīkoi tāpiri pea ka tino taipitopito ake te atahanga whakamutunga.
guidance_scalekōwhiringa
Momonumber
Taunoa7.5
0 – 20
Te kaha ū ki te tohutohu mō te kōwhiringa atahanga, kua whakaaturia hei CFG (Classifier Free Guidance).
clip_skipkōwhiringa
Momointeger
Taunoa0
0 – 2
Ka peke i tētahi wāhanga o te whakaputanga atahanga kia tere ake te tā, ka puta he hua paku rerekē.
schedulerkōwhiringa
Momoenum
DPM++ 2MDPM++ 2M KarrasDPM++ 2M SDEDPM++ 2M SDE KarrasEulerEuler AEuler (trailing timesteps)LCMLCM (trailing timesteps)DDIMTCD
Kaihōtaka, tauira rānei hei tango-hāmarara i te atahanga.
timestepskōwhiringa
Momoobject
Taunoa{"array":[],"method":"default"}
Te whakakapi i te hōtaka timestep denoising, kāore e taea te whakamahi tahi me sigmas. Ki te kore he whakakapi—te taunoa—ka tātaihia e te scheduler ngā timestep mai i num_inference_steps; mā te tuku hōtaka ritenga ka kore e whai take a num_inference_steps. Me tautoko te scheduler i te tohenga timesteps mō te whakakapi kia taea ai te set_timesteps.
timesteps.methodkōwhiringa
Momoenum
Taunoadefault
defaultarray
Kōwhiria me pēhea te whakatau i ngā timestep: ko 'default', te tautuhinga taunoa, ka tuku i te scheduler kia whakamahi i `num_inference_steps`. Hei tuku i tō ake hōtaka timestep, kōwhiria 'array' ka waiho te hōtaka ki te āpure `array`.
timesteps.arraykōwhiringa
Momointeger[]
Taunoa[]
Hōtaka timestep ka whakamahia ina ko 'custom' te tikanga kua kōwhiria.
sigmaskōwhiringa
Momoobject
Taunoa{"array":[],"method":"default"}
Te whakakapi i te hōtaka sigma denoising, kāore e taea te whakamahi tahi me timesteps. Ki te kore he whakakapi—te taunoa—ka tātaihia e te scheduler ngā sigma mai i num_inference_steps; mā te tuku hōtaka ritenga ka kore e whai take a num_inference_steps. Me tautoko te scheduler i te tohenga sigmas mō te whakakapi kia taea ai te set_sigmas.
sigmas.methodkōwhiringa
Momoenum
Taunoadefault
defaultarray
Kōwhiria me pēhea te whakatau i ngā sigma: ko 'default', te tautuhinga taunoa, ka whakamahi i ngā uara sigma ake a te scheduler. Hei tuku i tō ake hōtaka sigma, kōwhiria 'custom' ka waiho te hōtaka ki te āpure `array`.
sigmas.arraykōwhiringa
Momonumber[]
Taunoa[]
Hōtaka sigma ka whakamahia ina ko 'custom' te tikanga kua kōwhiria.
prediction_typekōwhiringa
Momoenum
Taunoaepsilon
v_predictionepsilon
Kōwhiria te momo matapae mō te whakaputa atahanga; ki te kore e kōwhiria he mea kē, ka whakamahia `epsilon`.
rescale_betas_snr_zerokōwhiringa
Momoboolean
Taunoafalse
Ka whakahaere mēnā ka whakakā te sampler i rescale_betas_snr_zero.
image_formatkōwhiringa
Momoenum
Taunoapng
jpegpng
Te hōputu kōnae mō te atahanga ka puta.
num_imageskōwhiringa num_outputs
Momointeger
Taunoa1
1 – 8
Tautuhia te maha o ngā atahanga ka whakaputaina e tētahi tono kotahi, kia nui ake ai te wā whakaputa mō tētahi puranga nui ake.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoafalse
Whakahohe kaitaki haumaru; mā true e whakahohe te tirotiro.
tile_widthkōwhiringa
Momointeger
Taunoa4096
128 – 4,096
Tautuhia te rahi o ia tāpa i te whakaputanga atahanga.
tile_heightkōwhiringa
Momointeger
Taunoa4096
128 – 4,096
Tautuhia te rahi o ia tāpa i te whakaputanga atahanga.
tile_stride_widthkōwhiringa
Momointeger
Taunoa2048
64 – 2,048
Tautuhia te āputa i waenga i ngā tūranga tāpa whai muri i te whakaputanga atahanga.
tile_stride_heightkōwhiringa
Momointeger
Taunoa2048
64 – 2,048
Tautuhia te āputa i waenga i ngā tūranga tāpa whai muri i te whakaputanga atahanga.
etakōwhiringa
Momonumber
Taunoa0
0 – 1
Tautuhinga Eta ka whakamahia i te whakaputanga atahanga.
debug_latentskōwhiringa
Momoboolean
Taunoafalse
Ka tiaki i ngā latents mō te rapurongoā ina true.
debug_per_pass_latentskōwhiringa
Momoboolean
Taunoafalse
Whakakāhia te rapurongoā mō ia whakawhitinga mā te tautuhi ki true; ka tiakina ngā latents o ia whakawhitinga.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "lora",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 57,
    "usd": "0.057",
    "charged": 57,
    "refunded": 0
  },
  "input": {
    "model_name": "stabilityai/stable-diffusion-xl-base-1.0",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ],
    "seed": 42,
    "has_nsfw_concepts": [
      false
    ],
    "debug_latents": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200
    },
    "debug_per_pass_latents": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
images
array of object {url, content_type, file_name, file_size, width, height}Pārongo kōnae mō ngā atahanga kua whakaputaina.
seed
integerKākano whakaputa atahanga, tae atu ki te uara i kōwhiria matapōkeretia mēnā kāore i tukuna he kākano ki te tāuru; ki te kore, ka tukurua te uara i tukuna.
has_nsfw_concepts
array of booleanKa tohu mēnā ka puta ngā ariā NSFW i ngā atahanga kua whakaputaina.
debug_latents
object {url, content_type, file_name, file_size} | nullRaraunga latent ka tiakina mō te rapurongoā.
debug_per_pass_latents
object {url, content_type, file_name, file_size} | nullRaraunga latent mō ia whakawhitinga ka tiakina mō te rapurongoā.

Ētahi atu tauira: Kuputuhi ki te Atahanga

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/lora.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt