from xcp_d.workflows.restingstate import init_reho_nifti_wf
wf = init_reho_nifti_wf(
    name_source="/path/to/bold.nii.gz",
    output_dir=".",
    mem_gb=0.1,
    omp_nthreads=1,
    name="nifti_reho_wf",
)